This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r269483 - in /trunk/gcc: cp/ChangeLog cp/parser...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 08 Mar 2019 07:45:47 -0000
- Subject: r269483 - in /trunk/gcc: cp/ChangeLog cp/parser...
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