aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-12-19 17:22:47 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2018-12-19 17:22:47 +0100
commit7c67ff4a1b44996cea0a72d0d9ee585c59fe2934 (patch)
tree579c243ba3642e4eb997b3da7d02917862080b77 /libgcc
parent1edf88662b51da93460b6139344edb5f9b943b0e (diff)
downloadgcc-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