summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-04 18:42:56 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-04 18:42:56 +0000
commite87da6ae80ffef6593d86397b4971088a0ee8be0 (patch)
tree8720096cbd63038754878a0595c00744ebf6abdf /gcc/c-common.h
parent51a555a4a3e01f09dbbfe8ab2aeca0765ebd713b (diff)
downloadgcc-e87da6ae80ffef6593d86397b4971088a0ee8be0.tar.gz
* c-common.c (c_expand_start_cond): Expect the IF_STMT node to
be passed in, do not build it. (c_begin_if_stmt): New function. (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. * c-common.h (c_expand_start_cond): Update prototype. (c_begin_if_stmt): Prototype new function. (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. * c-parse.in (if_prefix): Use c_begin_if_stmt, c_begin_while_stmt and c_finish_while_stmt_cond. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 4c49b9fcddf..296c9af3ac3 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -337,6 +337,10 @@ extern void expand_stmt PARAMS ((tree));
extern void mark_stmt_tree PARAMS ((void *));
extern void shadow_warning PARAMS ((const char *,
tree, tree));
+extern tree c_begin_if_stmt PARAMS ((void));
+extern tree c_begin_while_stmt PARAMS ((void));
+extern void c_finish_while_stmt_cond PARAMS ((tree, tree));
+
/* Extra information associated with a DECL. Other C dialects extend
this structure in various ways. The C front-end only uses this
@@ -505,7 +509,7 @@ extern tree c_alignof_expr PARAMS ((tree));
NOP_EXPR is used as a special case (see truthvalue_conversion). */
extern void binary_op_error PARAMS ((enum tree_code));
extern tree c_expand_expr_stmt PARAMS ((tree));
-extern void c_expand_start_cond PARAMS ((tree, int));
+extern void c_expand_start_cond PARAMS ((tree, int, tree));
extern void c_finish_then PARAMS ((void));
extern void c_expand_start_else PARAMS ((void));
extern void c_finish_else PARAMS ((void));