From 4f78b9a896ea942d9241538d15532b8f1587f420 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 2 Jan 2001 15:49:45 -0800 Subject: c-common.h (ASM_INPUT_P): New. * c-common.h (ASM_INPUT_P): New. * c-parse.in (asm): Set it when needed. * c-semantics.c (genrtl_asm_stmt): Test it instead of the existance of an operand. * cp/parse.y (asm): Set ASM_INPUT_P. From-SVN: r38638 --- gcc/c-parse.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/c-parse.in') diff --git a/gcc/c-parse.in b/gcc/c-parse.in index f944ac3..5c46b20 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -1,6 +1,6 @@ /* YACC parser for C syntax and for Objective C. -*-c-*- Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1953,6 +1953,7 @@ stmt: $$ = add_stmt (build_stmt (ASM_STMT, NULL_TREE, $4, NULL_TREE, NULL_TREE, NULL_TREE)); + ASM_INPUT_P ($$) = 1; } else { -- cgit v1.1