[Bug rtl-optimization/103979] asm goto is not considered volatile with output operands

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 11 18:46:13 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|asm goto is not considered  |asm goto is not considered
                   |volatile                    |volatile with output
                   |                            |operands
   Last reconfirmed|                            |2022-01-11
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-valid-code,
                   |                            |inline-asm, wrong-code
          Component|c                           |rtl-optimization

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect the code was not updated once output operands were allowed to have it
marked as volatile. As inline-asm without output operands is always considered
volatile.


More information about the Gcc-bugs mailing list