diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 10:17:46 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 10:17:46 +0000 |
commit | aaa78a93507539e236d9583036950269563c1ed0 (patch) | |
tree | 86bc2a69e632746478df68506829ec6c7eb1f74b /gcc/tree-if-conv.c | |
parent | 699b378669e11615a1ba6401313740fa87737af3 (diff) | |
download | gcc-aaa78a93507539e236d9583036950269563c1ed0.tar.gz |
PR tree-optimization/32821
* tree_if_conv.c (combine_blocks): Use alloc_stmt_list instead of
NULL in the call to set_bb_stmt_list.
testsuite/ChangeLog:
PR tree-optimization/32821
* gcc.dg/tree-ssa/pr32821.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128235 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 289da6e82aa..f97c23db93b 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -985,7 +985,7 @@ combine_blocks (struct loop *loop) /* Update stmt list. */ last = tsi_last (bb_stmt_list (merge_target_bb)); tsi_link_after (&last, bb_stmt_list (bb), TSI_NEW_STMT); - set_bb_stmt_list (bb, NULL); + set_bb_stmt_list (bb, alloc_stmt_list()); delete_basic_block (bb); } |