summaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-03 14:57:29 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-03 14:57:29 +0000
commit2ff66ee0a9e17479730d8bc5f01d07236d380fd5 (patch)
tree43fdb3d7f0644c079f62da1e10f12ecddb5b3649 /gcc/c-parse.in
parent1d8ef9c845f44b9e4ea4f2dfdb3d6c35cb36da9f (diff)
downloadgcc-2ff66ee0a9e17479730d8bc5f01d07236d380fd5.tar.gz
* Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency.
* c-decl.c (finish_function): Kill arguments, always use cgraph path. * c-objc-common.c: Kill include of gt-c-objc-common.h (expand_deferred_fns, deffer_fn): Kill function. (deferred_fns): Kill variable. (finish_cdtor): Update finish_function call. (c_objc_common_finish_file): Always call cgraph code. * c-parse.c: Regenerate. * c-parse.y: Regenerate. * c-tree.h (finish_function): Update prototype. * objc-acct.c (build_module_descriptor, finish_method_def): Update call of finish_function. * cgraphunit.c (cgraph_default_inline_p, cgraph_analyze_function): Add forward prototype. (cgraph_finalize_function): In non-unit-at-a-time mode analyze the function and assemble it if needed. (cgraph_finalize_compilation_unit): Do nothing in non-unit-at-a-time mode. (cgraph_optimize): Likewise. (cgraph_expand_function): In non-unit-at-a-time mode keep function body even when it has no inline callees. * c-parse.in: Update calls to finish_function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71028 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 2ae875e70ad..1338455fda5 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -417,7 +417,7 @@ fndef:
{ DECL_SOURCE_LOCATION (current_function_decl) = $6;
store_parm_decls (); }
compstmt_or_error
- { finish_function (0, 1);
+ { finish_function ();
POP_DECLSPEC_STACK; }
| declspecs_ts setspecs declarator error
{ POP_DECLSPEC_STACK; }
@@ -430,7 +430,7 @@ fndef:
{ DECL_SOURCE_LOCATION (current_function_decl) = $6;
store_parm_decls (); }
compstmt_or_error
- { finish_function (0, 1);
+ { finish_function ();
POP_DECLSPEC_STACK; }
| declspecs_nots setspecs notype_declarator error
{ POP_DECLSPEC_STACK; }
@@ -443,7 +443,7 @@ fndef:
{ DECL_SOURCE_LOCATION (current_function_decl) = $5;
store_parm_decls (); }
compstmt_or_error
- { finish_function (0, 1);
+ { finish_function ();
POP_DECLSPEC_STACK; }
| setspecs notype_declarator error
{ POP_DECLSPEC_STACK; }
@@ -1566,7 +1566,7 @@ nested_function:
which called YYERROR1 again, and so on. */
compstmt
{ tree decl = current_function_decl;
- finish_function (1, 1);
+ finish_function ();
pop_function_context ();
add_decl_stmt (decl); }
;
@@ -1597,7 +1597,7 @@ notype_nested_function:
which called YYERROR1 again, and so on. */
compstmt
{ tree decl = current_function_decl;
- finish_function (1, 1);
+ finish_function ();
pop_function_context ();
add_decl_stmt (decl); }
;