aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@markmitchell.com>1998-05-26 20:59:35 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-05-26 20:59:35 +0000
commita8f3f283e03813795fb8467e488c93045c8fcbca (patch)
treefbbd1e299391f4c53f38457ed58f807d8cbee1d4
parenta9afaadb7b7cce1a235851cc9aa1468601436a56 (diff)
downloadgcc-a8f3f283e03813795fb8467e488c93045c8fcbca.zip
gcc-a8f3f283e03813795fb8467e488c93045c8fcbca.tar.gz
gcc-a8f3f283e03813795fb8467e488c93045c8fcbca.tar.bz2
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
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 414f0d3..64fc782 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+1998-05-26 Mark Mitchell <mark@markmitchell.com>
+
+ * decl.c (store_parm_decls): Remove redundant call to
+ expand_main_function.
+
1998-05-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (start_decl): Check for DECL_LANG_SPECIFIC before
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 80849a0..069163e 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