From a8f3f283e03813795fb8467e488c93045c8fcbca Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 26 May 1998 20:59:35 +0000 Subject: [PATCH] decl.c (store_parm_decls): Remove redundant call to expand_main_function. * decl.c (store_parm_decls): Remove redundant call to expand_main_function. From-SVN: r20067 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 414f0d38d0ac..64fc782289a9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1998-05-26 Mark Mitchell + + * decl.c (store_parm_decls): Remove redundant call to + expand_main_function. + 1998-05-26 Benjamin Kosnik * decl.c (start_decl): Check for DECL_LANG_SPECIFIC before diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 80849a0a3cf9..069163e75271 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -12121,9 +12121,6 @@ store_parm_decls () to run global initializers, etc. */ if (DECL_MAIN_P (fndecl)) expand_main_function (); - { - expand_main_function (); - } /* Now that we have initialized the parms, we can start their cleanups. We cannot do this before, since expand_decl_cleanup