aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-01-02 15:49:45 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-01-02 15:49:45 -0800
commit4f78b9a896ea942d9241538d15532b8f1587f420 (patch)
tree6f47d15496d0c5ff8d25acd1c69deaf37c24d9ed /gcc/c-common.h
parentf941340f5a825b0320300e70ed828577d4b46260 (diff)
downloadgcc-4f78b9a896ea942d9241538d15532b8f1587f420.zip
gcc-4f78b9a896ea942d9241538d15532b8f1587f420.tar.gz
gcc-4f78b9a896ea942d9241538d15532b8f1587f420.tar.bz2
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
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 77c54f3..c37c38a 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -31,6 +31,7 @@ Boston, MA 02111-1307, USA. */
SCOPE_BEGIN_P (in SCOPE_STMT)
DECL_PRETTY_FUNCTION_P (in VAR_DECL)
NEW_FOR_SCOPE_P (in FOR_STMT)
+ ASM_INPUT_P (in ASM_STMT)
1: C_DECLARED_LABEL_FLAG (in LABEL_DECL)
STMT_IS_FULL_EXPR_P (in _STMT)
2: STMT_LINENO_FOR_FN_P (in _STMT)
@@ -666,6 +667,10 @@ extern tree strip_array_types PARAMS ((tree));
initialization variables. */
#define NEW_FOR_SCOPE_P(NODE) (TREE_LANG_FLAG_0 (NODE))
+/* Nonzero if we want to create an ASM_INPUT instead of an
+ ASM_OPERAND with no operands. */
+#define ASM_INPUT_P(NODE) (TREE_LANG_FLAG_0 (NODE))
+
#define DEFTREECODE(SYM, NAME, TYPE, LENGTH) SYM,
enum c_tree_code {
@@ -694,7 +699,7 @@ extern void genrtl_case_label PARAMS ((tree));
extern void genrtl_compound_stmt PARAMS ((tree));
extern void genrtl_asm_stmt PARAMS ((tree, tree,
tree, tree,
- tree));
+ tree, int));
extern void genrtl_decl_cleanup PARAMS ((tree, tree));
extern int stmts_are_full_exprs_p PARAMS ((void));
extern int anon_aggr_type_p PARAMS ((tree));