https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67830
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-10-05 Component|rtl-optimization |tree-optimization Target Milestone|--- |6.0 Summary|wrong code at -O1 and above |[6 Regression] wrong code |on x86_64-linux-gnu |at -O1 and above on | |x86_64-linux-gnu Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. .optimized already has an unconditional abort() call and forwprop2 changes it to that. Applying pattern match.pd:2322, gimple-match.c:2002 gimple_simplified to _15 = d.2_9 - _5; _16 = _15 & 254; _12 = (int) _16; Applying pattern match.pd:1853, generic-match.c:5128 Replaced '_12 != -2' with '1' gimple_simplified to if (1 != 0)