https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585
--- Comment #34 from Matthias Klose <doko at gcc dot gnu.org> --- Author: doko Date: Sun Mar 10 07:25:13 2019 New Revision: 269546 URL: https://gcc.gnu.org/viewcvs?rev=269546&root=gcc&view=rev Log: gcc/cp/ 2019-04-10 Matthias Klose <d...@ubuntu.com> Backport from the gcc-8 branch 2019-03-07 Jakub Jelinek <ja...@redhat.com> PR c++/89585 * parser.c (cp_parser_asm_definition): Parse asm qualifiers even at toplevel, but diagnose them. gcc/testsuite/ 2019-04-10 Matthias Klose <d...@ubuntu.com> Backport from the gcc-8 branch 2019-03-07 Jakub Jelinek <ja...@redhat.com> PR c++/89585 * g++.dg/asm-qual-3.C: Adjust expected diagnostics. Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/parser.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/g++.dg/asm-qual-3.C