aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inline.c
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-31 22:11:29 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:02:28 -0700
commit8f776eb5f8939ccbe9e9824d6e57b0fd04c18a5a (patch)
tree878809f38fd14de72292e79e3053051127354295 /inline.c
parent2c8642d050665a996ccbbc334fd0cb1a92350c72 (diff)
downloadsparse-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inline.c b/inline.c
index 5dc49fb7..3f0a10bf 100644
--- a/inline.c
+++ b/inline.c
@@ -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: {