diff options
author | Jan Hubicka <jh@suse.cz> | 2008-01-03 22:23:26 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-01-03 21:23:26 +0000 |
commit | 045685a9b58260227464e28fab7279e1ec35c9f0 (patch) | |
tree | baa2065a8fa039a4a28761c72e49e0277bdcbdc4 /gcc/tree-inline.h | |
parent | 9370b3c0f9f6d4e3ad3864ae77eac0a353aa41ff (diff) | |
download | gcc-045685a9b58260227464e28fab7279e1ec35c9f0.tar.gz |
re PR tree-optimization/31081 (Inliner messes up SSA for abnormals)
PR tree-optimization/31081
* tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to
0 when inlining and not inlining to first basic block.
(remap_decl): When var is initialized to 0, don't set default_def.
(expand_call_inline): Set entry_bb.
* tree-inline.h (copy_body_data): Add entry_bb.
From-SVN: r131306
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 33eb908b7cd..dbb78d0b4cc 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -97,6 +97,9 @@ typedef struct copy_body_data /* Statements that might be possibly folded. */ struct pointer_set_t *statements_to_fold; + + /* Entry basic block to currently copied body. */ + struct basic_block_def *entry_bb; } copy_body_data; /* Weights of constructions for estimate_num_insns. */ |