aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/c-semantics.c12
2 files changed, 2 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 36b025c..055155c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index b74fda6..016f0c3 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. */