aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-path.cc
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2022-08-04 16:35:31 +0100
committerTamar Christina <tamar.christina@arm.com>2022-08-04 16:35:31 +0100
commitc832ec4c3ec4853ad89ff3b0dbf6e9454e75e8cc (patch)
tree9af9c6071176f56b879eb0b12ea58a4c5a1dc041 /gcc/gimple-range-path.cc
parent39579ba8de9d91eafcc4943259b154a9e66538f1 (diff)
downloadgcc-c832ec4c3ec4853ad89ff3b0dbf6e9454e75e8cc.zip
gcc-c832ec4c3ec4853ad89ff3b0dbf6e9454e75e8cc.tar.gz
gcc-c832ec4c3ec4853ad89ff3b0dbf6e9454e75e8cc.tar.bz2
middle-end: Fix phi-ssa assertion triggers. [PR106519]
For the diamond PHI form in tree_ssa_phiopt_worker we need to extract edge e2 sooner. This changes it so we extract it at the same time we determine we have a diamond shape. gcc/ChangeLog: PR middle-end/106519 * tree-ssa-phiopt.cc (tree_ssa_phiopt_worker): Check final phi edge for diamond shapes. gcc/testsuite/ChangeLog: PR middle-end/106519 * gcc.dg/pr106519.c: New test.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions