diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-13 16:00:13 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-13 16:00:13 +0000 |
commit | b0e9d0dbad682c0c07ed21ba8081721fc15ee569 (patch) | |
tree | e61cc80ff03aedc183ea12bb3869e159392b1a20 /gcc/tree-ssa-pre.c | |
parent | cd2767523f65517d5bb2ed71f08c7368e987d95b (diff) | |
download | gcc-b0e9d0dbad682c0c07ed21ba8081721fc15ee569.tar.gz |
2006-01-13 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/25771
* tree-ssa-pre.c (insert_extra_phis): Don't insert merges of abnormal
SSA_NAMES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109669 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index bf3e5249b77..ada654b17c1 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -2768,6 +2768,9 @@ insert_extra_phis (basic_block block, basic_block dom) tree val = get_value_handle (name); tree temp; + if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (name)) + continue; + if (!mergephitemp || TREE_TYPE (name) != TREE_TYPE (mergephitemp)) { |