* toplev.c (rest_of_decl_compilation): Revert last two changes.

From-SVN: r50264
This commit is contained in:
Richard Henderson 2002-03-03 13:40:38 -08:00 committed by Richard Henderson
parent ba31d94ee6
commit 8ce0a8a5c9
2 changed files with 5 additions and 4 deletions

View file

@ -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,

View file

@ -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