https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585

--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar  8 07:45:23 2019
New Revision: 269483

URL: https://gcc.gnu.org/viewcvs?rev=269483&root=gcc&view=rev
Log:
        PR c++/89585
        * parser.c (cp_parser_asm_definition): Just warn instead of error
        on volatile qualifier outside of function body.

        * g++.dg/asm-qual-3.C: Adjust expected diagnostics for toplevel
        asm volatile.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/asm-qual-3.C

Reply via email to