decl.c (store_parm_decls): Remove redundant call to expand_main_function.
authorMark Mitchell <mark@markmitchell.com>
Tue, 26 May 1998 20:59:35 +0000 (20:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 26 May 1998 20:59:35 +0000 (20:59 +0000)
* decl.c (store_parm_decls): Remove redundant call to
expand_main_function.

From-SVN: r20067

gcc/cp/ChangeLog
gcc/cp/decl.c

index 414f0d38d0acdd1653d77b5a7a2bdba00abd4ded..64fc782289a9205e984031143d997c00f2d9178f 100644 (file)
@@ -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
index 80849a0a3cf95b0c31c3343419ea702806757810..069163e752714e8e0e048df32258cadd1c79e23c 100644 (file)
@@ -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