re PR bootstrap/77768 (LTO/PGO -O3 bootstrap broken: tree-vrp.c:11053:0: internal...
authorRichard Biener <rguenther@suse.de>
Thu, 29 Sep 2016 12:31:02 +0000 (12:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 29 Sep 2016 12:31:02 +0000 (12:31 +0000)
commit0ce1ecc7be817f0f96354b26f0d80f5bf53df764
tree10160a742e289a4c4b2274325ea25c7de8d22d9b
parentda186c1f433028066a476955a36ce48647b13c6b
re PR bootstrap/77768 (LTO/PGO -O3 bootstrap broken: tree-vrp.c:11053:0: internal compiler error: Segmentation fault)

2016-09-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77768
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
Handle stores to readonly memory when removing redundant stores.

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

From-SVN: r240617
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr77768.c [new file with mode: 0644]
gcc/tree-ssa-pre.c