[Bug c++/89443] toplevel inline-asm with volatile after the asm is not anymore support in C++

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 22 00:01:00 GMT 2019


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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This is not a bug.  This change was made in r267280:

"""
c++, asm: Do not handle any asm-qualifiers in top-level asm

Previously, "volatile" was allowed.  Changing this simplifies the code,
makes things more regular, and makes the C and C++ frontends handle
this the same way.
"""

https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00605.html


More information about the Gcc-bugs mailing list