diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-03 21:23:26 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-03 21:23:26 +0000 |
commit | 186f5fffe6b4255a2e552ba22aeb500b0f96cc81 (patch) | |
tree | baa2065a8fa039a4a28761c72e49e0277bdcbdc4 /gcc/tree-inline.h | |
parent | cf4abc57c8be3b23d98fcbe6db5e1d2883f5cb5b (diff) | |
download | gcc-186f5fffe6b4255a2e552ba22aeb500b0f96cc81.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131306 138bc75d-0d04-0410-961f-82ee72b054a4
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. */ |