From 27e1a8d2eebf19730394a178567c775dd39ac248 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 29 May 2004 03:51:05 +0000 Subject: [PATCH] c-semantics.c (emit_local_var): Remove code for DECL_INITIAL. 2005-05-28 Andrew Pinski * c-semantics.c (emit_local_var): Remove code for DECL_INITIAL. From-SVN: r82415 --- gcc/ChangeLog | 2 ++ gcc/c-semantics.c | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36b025cf845..055155ce78b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2005-05-28 Andrew Pinski + * 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 diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index b74fda6302a..016f0c3300f 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -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. */ -- 2.30.2