diff options
author | Richard Henderson <rth@redhat.com> | 2000-12-20 10:18:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-12-20 10:18:24 -0800 |
commit | 64094f6a65becc338e39fe3bc72d83d812c50d4d (patch) | |
tree | c348f2bb0cb4cb71bb3b6a678fa12eeac3682584 /gcc/c-common.h | |
parent | 3e4d04a1bad107f85a9e48e2f9df9ed672b0ab16 (diff) | |
download | gcc-64094f6a65becc338e39fe3bc72d83d812c50d4d.zip gcc-64094f6a65becc338e39fe3bc72d83d812c50d4d.tar.gz gcc-64094f6a65becc338e39fe3bc72d83d812c50d4d.tar.bz2 |
c-typeck.c (build_asm_stmt): New, broken out from ...
* c-typeck.c (build_asm_stmt): New, broken out from ...
(c_expand_asm_operands): ... here. Just do rtl expansion.
(c_expand_return): Return the new stmt node.
(c_start_case, do_case): Likewise.
* c-common.c (c_expand_expr_stmt): Likewise.
* c-common.h: Update declarations.
* c-tree.h: Likewise.
* c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
* c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
(nested_function, notype_nested_function): Likewise.
(compstmt): Return the compound statement not the binding level.
(lineno_labeled_stmt): Simplify.
(lineno_stmt, lineno_label): Set STMT_LINENO.
(stmt, label): Return the new stmt node.
From-SVN: r38402
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index b31499f..a23b871 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -467,7 +467,7 @@ extern void c_apply_type_quals_to_decl PARAMS ((int, tree)); /* Print an error message for invalid operands to arith operation CODE. NOP_EXPR is used as a special case (see truthvalue_conversion). */ extern void binary_op_error PARAMS ((enum tree_code)); -extern void c_expand_expr_stmt PARAMS ((tree)); +extern tree c_expand_expr_stmt PARAMS ((tree)); extern void c_expand_start_cond PARAMS ((tree, int)); extern void c_finish_then PARAMS ((void)); extern void c_expand_start_else PARAMS ((void)); @@ -713,8 +713,8 @@ extern int anon_aggr_type_p PARAMS ((tree)); extern void emit_local_var PARAMS ((tree)); extern void make_rtl_for_local_static PARAMS ((tree)); extern tree expand_cond PARAMS ((tree)); -extern void c_expand_return PARAMS ((tree)); -extern void do_case PARAMS ((tree, tree)); +extern tree c_expand_return PARAMS ((tree)); +extern tree do_case PARAMS ((tree, tree)); extern tree build_stmt PARAMS ((enum tree_code, ...)); extern tree build_case_label PARAMS ((tree, tree, tree)); extern tree build_continue_stmt PARAMS ((void)); |