aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-28 10:51:49 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-28 10:51:49 -0800
commit619708cce29db738d1926514d92c07b24f689b22 (patch)
treec3f3d3f6bcb25054ebc7c74e7f3117eb734219a8 /gcc/c-decl.c
parentb1d874d7b19e09b07657ace24315e9ee279a9ae9 (diff)
downloadgcc-619708cce29db738d1926514d92c07b24f689b22.zip
gcc-619708cce29db738d1926514d92c07b24f689b22.tar.gz
gcc-619708cce29db738d1926514d92c07b24f689b22.tar.bz2
c-decl.c (finish_function): New arg can_defer_p.
* 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. From-SVN: r51518
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 620a16f..931f174 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