[Bug tree-optimization/84803] [8 Regression] ICE from ifcvt_memrefs_wont_trap with -O3

2018-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84803 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/84803] [8 Regression] ICE from ifcvt_memrefs_wont_trap with -O3

2018-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84803 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon Mar 12 12:32:28 2018 New Revision: 258446 URL: https://gcc.gnu.org/viewcvs?rev=258446=gcc=rev Log: 2018-03-12 Richard Biener PR

[Bug tree-optimization/84803] [8 Regression] ICE from ifcvt_memrefs_wont_trap with -O3

2018-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84803 --- Comment #5 from Richard Biener --- So the reason is that data-ref analysis doesn't consider # VUSE <.MEM_20> _12 = MEM[(char *)"" + 1B]; as a load. It's an out-of-bound read which we don't fold optimistically or replace with a trap. At

[Bug tree-optimization/84803] [8 Regression] ICE from ifcvt_memrefs_wont_trap with -O3

2018-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84803 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Component|c