re PR tree-optimization/65875 (ICE: Segmentation fault)
authorJakub Jelinek <jakub@redhat.com>
Mon, 27 Apr 2015 11:26:12 +0000 (13:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 27 Apr 2015 11:26:12 +0000 (13:26 +0200)
commit9c3cb3607913d35e96243a26b1ad4aaee1ad8a68
tree71ff1501327cc81f60701d41ac26e0c9f1cb2a32
parent97d87f7502351f80784f77dbeb4119def98c133d
re PR tree-optimization/65875 (ICE: Segmentation fault)

PR tree-optimization/65875
* tree-vrp.c (update_value_range): If in is_new case setting
old_vr to VR_VARYING, also set new_vr to it.  Remove
old_vr->type == VR_VARYING test.
(vrp_visit_phi_node): Return SSA_PROP_VARYING instead of
SSA_PROP_INTERESTING if update_value_range returned true,
but new range is VR_VARYING.

* gcc.c-torture/compile/pr65875.c: New test.

From-SVN: r222458
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr65875.c [new file with mode: 0644]
gcc/tree-vrp.c