]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/97897 - complex lowering on abnormal edges
authorRichard Biener <rguenther@suse.de>
Thu, 19 Nov 2020 08:06:50 +0000 (09:06 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 3 Mar 2021 09:46:40 +0000 (10:46 +0100)
commit9272936ac5fac472a3690145572afa6ed19eaa8e
treecdf54c6dc51cbca74e346625109b5e81a06fbd29
parent186573a26a19e6e6523d86739248953042735372
tree-optimization/97897 - complex lowering on abnormal edges

This fixes complex lowering to not put constants into abnormal
edge PHI values by making sure abnormally used SSA names are
VARYING in its propagation lattice.

2020-11-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97897
* tree-complex.c (complex_propagate::visit_stmt): Make sure
abnormally used SSA names are VARYING.
(complex_propagate::visit_phi): Likewise.

* gcc.dg/pr97897.c: New testcase.
gcc/testsuite/gcc.dg/pr97897.c [new file with mode: 0644]
gcc/tree-complex.c
This page took 0.066693 seconds and 6 git commands to generate.