[Bug c++/89443] toplevel inline-asm with volatile after the asm is not anymore support in C++
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 22 01:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89443
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #2)
> 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
should probably be mentioned in the "Caveats" section of the gcc-9 changes
page, and/or the "Porting To GCC 9" page
More information about the Gcc-bugs
mailing list