re PR middle-end/91267 (SEGV in value_range_base::equal_p)
authorRichard Biener <rguenther@suse.de>
Mon, 29 Jul 2019 10:10:15 +0000 (10:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Jul 2019 10:10:15 +0000 (10:10 +0000)
commit3c2f6fae598f997003b73ab93bb85cb33471f389
treed21caa39e524b8782d74b86a3d2c9e9b99703483
parentf33b9c40b97f6f8a72ee370068ad81e33d71434e
re PR middle-end/91267 (SEGV in value_range_base::equal_p)

2019-07-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91267
* vr-values.c (vr_values::update_value_range): Add early return
for effectively VARYING lattice entry.

* gcc.dg/torture/pr91267.c: New testcase.

From-SVN: r273874
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr91267.c [new file with mode: 0644]
gcc/vr-values.c