c-parse.in (maybe_type_qual): Delete.
authorZack Weinberg <zack@gcc.gnu.org>
Thu, 12 Feb 2004 19:14:05 +0000 (19:14 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 12 Feb 2004 19:14:05 +0000 (19:14 +0000)
commit9f0e2d86e2c653ae90e152fb605ab75118ce7eb3
tree439eeb30011254df0f56aabdcbd5252e64ac3b01
parent35f5add9236429ef410635f4180d6ea3f29010c8
c-parse.in (maybe_type_qual): Delete.

* c-parse.in (maybe_type_qual): Delete.
(maybe_volatile, simple_asm_expr, asmdef, asm_stmt)
(asm_argument): New grammar rules.
(extdef_1): Use asmdef.
(maybeasm): Move down with other asm rules; use simple_asm_expr.
(xexpr): Move up with other expression rules.
(stmt): Use asm_stmt.

* c-typeck.c (build_asm_expr): New function - body mostly
pulled from build_asm_stmt.
(build_asm_stmt): Just handle tacking on the volatile qualifier.
* c-tree.h (build_asm_expr, build_asm_stmt): Update prototypes.

From-SVN: r77723
gcc/ChangeLog
gcc/c-parse.in
gcc/c-tree.h
gcc/c-typeck.c