aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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