https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71854
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2016-07-13 00:00:00 |2016-12-19 CC| |aldyh at gcc dot gnu.org --- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- This bug is no longer reproducible on mainline, with the above options, after this patch: commit b0c413f240ec2431c4a93d86f87e66a57bc5d51e Author: wschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Nov 17 14:22:17 2016 +0000 [gcc] 2016-11-17 Bill Schmidt <wschm...@linux.vnet.ibm.com> Richard Biener <rguent...@suse.de> PR tree-optimization/77848 * tree-if-conv.c (tree_if_conversion): Always version loops unless the user specified -ftree-loop-if-convert. In order to continue reproducing you must now use: -O3 -ftree-loop-if-convert