https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-12-18 Component|inline-asm |c++ Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. What is happening is the in-charge/out-of-charge cloning is not cloning the inline-asm correctly. __asm__ __volatile__("" : "=r" x_7 : "0" 42); vs: __asm__ __volatile__("" : "=r" x_5);