https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50291
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (insn 49 48 50 6 (parallel [ (set (reg/f:DI 60 [ iftmp.5 ]) (if_then_else:DI (ltu:DI (reg:CC 17 flags) (const_int 0 [0])) (const_int -1 [0xffffffffffffffff]) (const_int 0 [0]))) (clobber (reg:CC 17 flags)) ]) /app/example.c:19 885 {*x86_movdicc_0_m1} (nil)) (insn 50 49 51 6 (set (reg/f:DI 60 [ iftmp.5 ]) (not:DI (reg/f:DI 60 [ iftmp.5 ]))) /app/example.c:19 471 {*one_cmpldi2_1} (nil)) (insn 51 50 28 6 (parallel [ (set (reg/f:DI 60 [ iftmp.5 ]) (and:DI (reg/f:DI 60 [ iftmp.5 ]) (const_int 1193046 [0x123456]))) (clobber (reg:CC 17 flags)) ]) /app/example.c:19 367 {*anddi_1} (nil)) ---- CUT ---- That does not look right. 4.8 is also broken. I can't get the same IR to get hit the issue in 4.9+ though.