diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-05-29 03:51:05 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-05-28 20:51:05 -0700 |
commit | 27e1a8d2eebf19730394a178567c775dd39ac248 (patch) | |
tree | f60fbe09350d7d3a9b3dd0a2655f88f7826f40ab | |
parent | f935f97b9f5e60a65c37bde6404bfce9e2b02a36 (diff) | |
download | gcc-27e1a8d2eebf19730394a178567c775dd39ac248.zip gcc-27e1a8d2eebf19730394a178567c775dd39ac248.tar.gz gcc-27e1a8d2eebf19730394a178567c775dd39ac248.tar.bz2 |
c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.
2005-05-28 Andrew Pinski <pinskia@physics.uc.edu>
* c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.
From-SVN: r82415
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/c-semantics.c | 12 |
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. */ |