https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92925
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (insn 16 15 0 (set (mem:TI (plus:DI (reg/f:DI 87) (const_int 8 [0x8])) [2 bptr_6(D)->aD.1982[i_12]+0 S16 A64]) (const_int 0 [0])) "/app/example.cpp":11:15 -1 (nil)) Note you need to add: asm("":::"memory"); at the end of the function set; otherwise everything is optimized away :).