re PR tree-optimization/84933 (ICE in set_value_range, at tree-vrp.c:288 since r257852)
authorRichard Biener <rguenther@suse.de>
Mon, 19 Mar 2018 14:11:05 +0000 (14:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Mar 2018 14:11:05 +0000 (14:11 +0000)
commitbe742eb4d4a3295d6e07e4c8d66a5ab54a68ef2f
tree479d5e4e7e3568816973b2874c62f0be5fb17883
parent68d93a19c4d764012d947ef7c0ab8abbb0d72775
re PR tree-optimization/84933 (ICE in set_value_range, at tree-vrp.c:288 since r257852)

2018-03-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84933
* tree-vrp.c (set_and_canonicalize_value_range): Treat out-of-bound
values as -INF/INF when canonicalizing an ANTI_RANGE to a RANGE.

* g++.dg/pr84933.C: New testcase.

From-SVN: r258646
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr84933.C [new file with mode: 0644]
gcc/tree-vrp.c