c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.
authorAndrew Pinski <pinskia@physics.uc.edu>
Sat, 29 May 2004 03:51:05 +0000 (03:51 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 29 May 2004 03:51:05 +0000 (20:51 -0700)
2005-05-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.

From-SVN: r82415

gcc/ChangeLog
gcc/c-semantics.c

index 36b025cf845159db3de1c0a27f58ab0c48b1e8a1..055155ce78bae4136f49a42947d4ee37646a30b3 100644 (file)
@@ -1,5 +1,7 @@
 2005-05-28  Andrew Pinski  <pinskia@physics.uc.edu>
 
+       * c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.
+
        PR target/15720
        * config/darwin.c (machopic_indirect_call_target): Copy
        the SYMBOL_REF_DECL from the original RTX for the new
index b74fda6302a50564ad1e6de3c1f9ea2c1a9d41a1..016f0c3300f0568e978fce0a83b87e81a0710499 100644 (file)
@@ -246,18 +246,6 @@ emit_local_var (tree decl)
       else
        expand_decl (decl);
     }
-
-  if (DECL_INITIAL (decl))
-    {
-      /* Actually do the initialization.  */
-      if (stmts_are_full_exprs_p ())
-       expand_start_target_temps ();
-
-      expand_decl_init (decl);
-
-      if (stmts_are_full_exprs_p ())
-       expand_end_target_temps ();
-    }
 }
 
 /* Build the node for a return statement and return it.  */