From 8ce0a8a5c9513a25484275a2c25cac1497d8828c Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 3 Mar 2002 13:40:38 -0800 Subject: [PATCH] * toplev.c (rest_of_decl_compilation): Revert last two changes. From-SVN: r50264 --- gcc/ChangeLog | 4 ++++ gcc/toplev.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d82d278e7e5..792843c4c4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-03-03 Richard Henderson + + * toplev.c (rest_of_decl_compilation): Revert last two changes. + 2002-03-03 Zack Weinberg * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, diff --git a/gcc/toplev.c b/gcc/toplev.c index 11c55464468..5a8c0dd0914 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2266,10 +2266,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end) { timevar_push (TV_VARCONST); - /* If asmspec non-zero, we may be creating a global register variable. - If asmspec zero, we may be making sure that ENCODE_SECTION_INFO is - up-to-date. */ - if (TREE_CODE (decl) != TYPE_DECL && TREE_CODE (decl) != LABEL_DECL) + if (asmspec) make_decl_rtl (decl, asmspec); /* Don't output anything when a tentative file-scope definition