re PR tree-optimization/67221 (ICE at -Os and above on x86_64-linux-gnu: Segmentation...
authorRichard Biener <rguenther@suse.de>
Mon, 17 Aug 2015 14:17:33 +0000 (14:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 17 Aug 2015 14:17:33 +0000 (14:17 +0000)
commit28251e2ce19fbbe5715ac33cf4a8c349d0c95faa
tree3436d1f599cdaa60d64cfa9b16030e7d0997e0bf
parent6c825cd46bac36333c1970c549a8630f8c850794
re PR tree-optimization/67221 (ICE at -Os and above on x86_64-linux-gnu: Segmentation fault (program cc1))

2015-08-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/67221
* tree-ssa-sccvn.c (visit_phi): Keep all-TOP args TOP.
(sccvn_dom_walker::before_dom_children): Mark backedges of
non-executable blocks as not executable.

* gcc.dg/torture/pr67221.c: New testcase.

From-SVN: r226938
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67221.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c