From 64094f6a65becc338e39fe3bc72d83d812c50d4d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 20 Dec 2000 10:18:24 -0800 Subject: 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 --- gcc/c-tree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/c-tree.h') diff --git a/gcc/c-tree.h b/gcc/c-tree.h index ee769e7..939ca3f 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -275,6 +275,8 @@ extern void pedwarn_c99 PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; extern tree c_start_case PARAMS ((tree)); extern void c_finish_case PARAMS ((void)); +extern tree build_asm_stmt PARAMS ((tree, tree, tree, + tree, tree)); /* Set to 0 at beginning of a function definition, set to 1 if a return statement that specifies a return value is seen. */ -- cgit v1.1