diff options
author | Mark Mitchell <mark@codesourcery.com> | 2002-04-13 01:25:27 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2002-04-13 01:25:27 +0000 |
commit | c740732f62c3784700fa3d819af4f408f768dd48 (patch) | |
tree | de6cd1c98fbd33ee4be0c84964ac99948d1aa96f /gcc/stor-layout.c | |
parent | 21b1475254f8b4511bdd9f4ffcff9c07a141c77d (diff) | |
download | gcc-c740732f62c3784700fa3d819af4f408f768dd48.zip gcc-c740732f62c3784700fa3d819af4f408f768dd48.tar.gz gcc-c740732f62c3784700fa3d819af4f408f768dd48.tar.bz2 |
Revert these changes:
2002-04-06 Mark Mitchell <mark@codesourcery.com>
PR c++/5571
* stor-layout.c (layout_decl): Reset the RTL for the decl.
* decl.c (duplicate_decls): Do not copy the RTL for a variable
declaration if the old variable had an incomplete type and the new
variable does not.
(complete_vars): Do not call layout_decl for completed variables.
From-SVN: r52258
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index fbf5e4f..baf26dd 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -461,11 +461,6 @@ layout_decl (decl, known_align) larger_than_size); } } - - /* If there was already RTL for this DECL, as for a variable with an - incomplete type whose type is completed later, update the RTL. */ - if (DECL_RTL_SET_P (decl)) - make_decl_rtl (decl, NULL); } /* Hook for a front-end function that can modify the record layout as needed |