This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r267277 - in /trunk/gcc: c/ChangeLog c/c-parser...
- From: segher at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 19 Dec 2018 15:55:29 -0000
- Subject: r267277 - in /trunk/gcc: c/ChangeLog c/c-parser...
Author: segher
Date: Wed Dec 19 15:55:28 2018
New Revision: 267277
URL: https://gcc.gnu.org/viewcvs?rev=267277&root=gcc&view=rev
Log:
c/c++, asm: Write the asm-qualifier loop without "done" boolean
As suggested by Jason.
c/
* c-parser.c (c_parser_asm_statement): Rewrite the loop to work without
"done" boolean variable.
cp/
* parser.c (cp_parser_asm_definition): Rewrite the loop to work without
"done" boolean variable.
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c