]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* toplev.c (rest_of_decl_compilation): Revert last two changes.
authorRichard Henderson <rth@redhat.com>
Sun, 3 Mar 2002 21:40:38 +0000 (13:40 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 3 Mar 2002 21:40:38 +0000 (13:40 -0800)
From-SVN: r50264

gcc/ChangeLog
gcc/toplev.c

index d82d278e7e5f250170e27489786806bb5b4ebec2..792843c4c4ea8dd8e013712a9e1a5e725cfca8ca 100644 (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,
index 11c55464468df672c82bab97ef1e3c037f7a4290..5a8c0dd09143411d54152b2b0c5b6fa4e9718081 100644 (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