aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
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 /gcc/toplev.c
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 1 insertions, 4 deletions
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