[Bug tree-optimization/82217] ICE on valid code at -O1 and above: in visit_phi, at tree-ssa-sccvn.c:3908
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 15 09:20:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82217
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Sep 15 09:19:36 2017
New Revision: 252796
URL: https://gcc.gnu.org/viewcvs?rev=252796&root=gcc&view=rev
Log:
2017-09-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/82217
* tree-ssa-sccvn.c (visit_phi): Properly handle all VN_TOP
but not undefined case.
* gcc.dg/torture/pr82217.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr82217.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-sccvn.c
More information about the Gcc-bugs
mailing list