Commit 41c78c88 by Richard Henderson Committed by Richard Henderson

toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl for types or labels.

        * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
        for types or labels.

From-SVN: r50253
parent 9e9b71e6
2002-03-03 Richard Henderson <rth@redhat.com> 2002-03-03 Richard Henderson <rth@redhat.com>
* toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
for types or labels.
2002-03-03 Richard Henderson <rth@redhat.com>
* c-decl.c (start_decl): Initialized variables are not common. * c-decl.c (start_decl): Initialized variables are not common.
2002-03-02 Per Bothner <per@bothner.com> 2002-03-02 Per Bothner <per@bothner.com>
......
...@@ -2277,6 +2277,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end) ...@@ -2277,6 +2277,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end)
/* If asmspec non-zero, we may be creating a global register variable. /* 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 If asmspec zero, we may be making sure that ENCODE_SECTION_INFO is
up-to-date. */ up-to-date. */
if (TREE_CODE (decl) != TYPE_DECL && TREE_CODE (decl) != LABEL_DECL)
make_decl_rtl (decl, asmspec); make_decl_rtl (decl, asmspec);
/* Don't output anything when a tentative file-scope definition /* Don't output anything when a tentative file-scope definition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment