summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-28 18:51:49 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-28 18:51:49 +0000
commitb3f7c02fd975d38fe3a687cda9881c91f5fa95b0 (patch)
treec3f3d3f6bcb25054ebc7c74e7f3117eb734219a8 /gcc/c-decl.c
parent099a9fb1cf8bfbb106f62d2bd514710b58f628c1 (diff)
downloadppe42-gcc-b3f7c02fd975d38fe3a687cda9881c91f5fa95b0.tar.gz
ppe42-gcc-b3f7c02fd975d38fe3a687cda9881c91f5fa95b0.zip
* c-decl.c (finish_function): New arg can_defer_p. Pass it
on to c_expand_body. * c-tree.h (finish_function): Update decl. * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 620a16f5d5d..931f17487ac 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -6687,11 +6687,13 @@ store_parm_decls ()
This is called after parsing the body of the function definition.
- NESTED is nonzero if the function being finished is nested in another. */
+ NESTED is nonzero if the function being finished is nested in another.
+ CAN_DEFER_P is nonzero if the function may be deferred. */
void
-finish_function (nested)
+finish_function (nested, can_defer_p)
int nested;
+ int can_defer_p;
{
tree fndecl = current_function_decl;
@@ -6760,7 +6762,7 @@ finish_function (nested)
if (! nested)
{
/* Generate RTL for the body of this function. */
- c_expand_body (fndecl, nested, 1);
+ c_expand_body (fndecl, nested, can_defer_p);
/* Let the error reporting routines know that we're outside a
function. For a nested function, this value is used in
OpenPOWER on IntegriCloud