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. 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
Showing
gcc/testsuite/g++.dg/asm-qual-3.C
0 → 100644
gcc/testsuite/gcc.dg/asm-qual-3.c
0 → 100644
Please
register
or
sign in
to comment