aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-03 13:40:38 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-03 13:40:38 -0800
commit8ce0a8a5c9513a25484275a2c25cac1497d8828c (patch)
tree19875e20ec0caaf1e0d1605192679d1def102bf0
parentba31d94ee642e435d03ba73be3db027b362edd1b (diff)
downloadgcc-8ce0a8a5c9513a25484275a2c25cac1497d8828c.zip
gcc-8ce0a8a5c9513a25484275a2c25cac1497d8828c.tar.gz
gcc-8ce0a8a5c9513a25484275a2c25cac1497d8828c.tar.bz2
* toplev.c (rest_of_decl_compilation): Revert last two changes.
From-SVN: r50264
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/toplev.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d82d278..792843c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-03 Richard Henderson <rth@redhat.com>
+
+ * toplev.c (rest_of_decl_compilation): Revert last two changes.
+
2002-03-03 Zack Weinberg <zack@codesourcery.com>
* emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 11c5546..5a8c0dd 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