diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-31 22:11:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:02:28 -0700 |
| commit | 8f776eb5f8939ccbe9e9824d6e57b0fd04c18a5a (patch) | |
| tree | 878809f38fd14de72292e79e3053051127354295 /inline.c | |
| parent | 2c8642d050665a996ccbbc334fd0cb1a92350c72 (diff) | |
| download | sparse-dev-8f776eb5f8939ccbe9e9824d6e57b0fd04c18a5a.tar.gz | |
Keep track of computed target label lists per-function.
Associate them with each computed goto, and copy them properly
when inlining.
Diffstat (limited to 'inline.c')
| -rw-r--r-- | inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -327,6 +327,7 @@ static struct statement *copy_one_statement(struct statement *stmt) stmt = dup_statement(stmt); stmt->goto_label = copy_symbol(stmt->pos, stmt->goto_label); stmt->goto_expression = copy_expression(stmt->goto_expression); + stmt->target_list = copy_symbol_list(stmt->target_list); break; } case STMT_ASM: { |
