diff options
author | Richard Biener <rguenther@suse.de> | 2023-07-24 08:40:19 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-07-24 09:50:32 +0200 |
commit | fb132cdfb204bc12851eb1d5852eef6f03c13af3 (patch) | |
tree | f3c37b9802a26c6799bba539e763215e0c763c48 /gcc/tree-vect-loop.cc | |
parent | d07504725973ccdec78929a09dc13e5ebd9472f6 (diff) | |
download | gcc-fb132cdfb204bc12851eb1d5852eef6f03c13af3.zip gcc-fb132cdfb204bc12851eb1d5852eef6f03c13af3.tar.gz gcc-fb132cdfb204bc12851eb1d5852eef6f03c13af3.tar.bz2 |
tree-optimization/110766 - missing PHI location check
The following adds a missing PHI location check before querying
the loop latch PHI arg from it.
PR tree-optimization/110766
* tree-scalar-evolution.cc
(analyze_and_compute_bitwise_induction_effect): Check the PHI
is defined in the loop header.
* gcc.dg/torture/pr110766.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions