asm-qual-3.c
475 Bytes
-
c++, asm: Do not handle any asm-qualifiers in top-level asm · 7c67ff4a
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. cp/ * parser.c (cp_parser_asm_definition): Do not allow any asm qualifiers on top-level asm. testsuite/ * g++.dg/asm-qual-3.C: New testcase. * gcc.dg/asm-qual-3.c: New testcase. From-SVN: r267280
Segher Boessenkool committed