diff options
author | 2004-10-22 21:17:12 -0700 | |
---|---|---|
committer | 2005-04-07 21:03:38 -0700 | |
commit | 1b71fb3a43dcc8f73a60c6a2d980eefc2375cc85 (patch) | |
tree | 171077dae463b11586e9070ad3626f7b6b3857a6 /inline.c | |
parent | Get rid of the old "iterate()" interfaces. (diff) | |
download | sparse-1b71fb3a43dcc8f73a60c6a2d980eefc2375cc85.tar.gz sparse-1b71fb3a43dcc8f73a60c6a2d980eefc2375cc85.tar.bz2 sparse-1b71fb3a43dcc8f73a60c6a2d980eefc2375cc85.zip |
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) |