diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-22 21:17:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:03:38 -0700 |
| commit | 1b71fb3a43dcc8f73a60c6a2d980eefc2375cc85 (patch) | |
| tree | 171077dae463b11586e9070ad3626f7b6b3857a6 /inline.c | |
| parent | f9344b85c8b0b06fc7aa94e8615bf88dd4b25e54 (diff) | |
| download | sparse-dev-1b71fb3a43dcc8f73a60c6a2d980eefc2375cc85.tar.gz | |
Copy STMT_INTERNAL properly when inlining
(In practice, it should always be a constant, so it did the
right thing. But maybe it becomes that only after expansion
at the inlining site..)
Diffstat (limited to 'inline.c')
| -rw-r--r-- | inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -270,6 +270,7 @@ static struct statement *copy_one_statement(struct statement *stmt) switch(stmt->type) { case STMT_NONE: break; + case STMT_INTERNAL: case STMT_EXPRESSION: { struct expression *expr = copy_expression(stmt->expression); if (expr == stmt->expression) |
