Fix PR97315 (part 1 of 2)
authorAldy Hernandez <aldyh@redhat.com>
Thu, 8 Oct 2020 09:15:23 +0000 (11:15 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Thu, 8 Oct 2020 09:17:08 +0000 (11:17 +0200)
commit214d514fafcd78cd54e4a4aa9ae08c89abf9cc57
treed207b0af3077b6c43d93a6da69924d29f8bda249
parent273b30c8e93f043f65a04e0ff2ec305b311e98fa
Fix PR97315 (part 1 of 2)

gcc/ChangeLog:

PR tree-optimization/97315
* gimple-ssa-evrp.c (hybrid_folder::choose_value): Removes the
trap and instead annotates the listing.

gcc/testsuite/ChangeLog:

* gcc.dg/pr97315-1.c: New test.
gcc/gimple-ssa-evrp.c
gcc/testsuite/gcc.dg/pr97315-1.c [new file with mode: 0644]