[Bug tree-optimization/87169] [9 Regression] ICE on valid code at -Os and above on x86_64-linux-gnu: Segmentation fault
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 3 13:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87169
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Sep 3 13:28:25 2018
New Revision: 264057
URL: https://gcc.gnu.org/viewcvs?rev=264057&root=gcc&view=rev
Log:
2018-09-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/87197
* tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Mark the new def
visited. CSE the VN_INFO hashtable lookup.
* gcc.dg/torture/pr87197.c: New testcase.
PR tree-optimization/87169
* tree-ssa-sccvn.c (do_rpo_vn): When marking loops for not
iterating make sure there's no extra backedges from irreducible
regions feeding the header. Mark the destination block
executable.
* gcc.dg/torture/pr87169.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr87169.c
trunk/gcc/testsuite/gcc.dg/torture/pr87197.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-sccvn.c
More information about the Gcc-bugs
mailing list