[Bug c++/66279] Input/output asm operand is not loaded inside a constructor with a virtual base class

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 18 02:50:00 GMT 2015


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);


More information about the Gcc-bugs mailing list