https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109414
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Actually this more related to WORD_REGISTER_OPERATIONS . (insn 7 4 8 2 (set (reg:SI 77) (plus:SI (subreg/s/u:SI (reg/v:DI 74 [ x ]) 0) (const_int 1 [0x1]))) "/app/example.cpp":3:12 -1 (nil)) GCC then thinks that is an add on all 64bit which is not true ...