diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2018-12-19 17:22:47 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2018-12-19 17:22:47 +0100 |
commit | 7c67ff4a1b44996cea0a72d0d9ee585c59fe2934 (patch) | |
tree | 579c243ba3642e4eb997b3da7d02917862080b77 /libgcc | |
parent | 1edf88662b51da93460b6139344edb5f9b943b0e (diff) | |
download | gcc-7c67ff4a1b44996cea0a72d0d9ee585c59fe2934.zip gcc-7c67ff4a1b44996cea0a72d0d9ee585c59fe2934.tar.gz gcc-7c67ff4a1b44996cea0a72d0d9ee585c59fe2934.tar.bz2 |
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
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions