From c740732f62c3784700fa3d819af4f408f768dd48 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sat, 13 Apr 2002 01:25:27 +0000 Subject: Revert these changes: 2002-04-06 Mark Mitchell 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 --- gcc/stor-layout.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/stor-layout.c') 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 -- cgit v1.1