c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope definitions.
authorJason Merrill <jason@redhat.com>
Mon, 26 Feb 2001 11:11:38 +0000 (06:11 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 26 Feb 2001 11:11:38 +0000 (06:11 -0500)
commit8cf8d8a27b3eb2b183511a3e2f449985a7aa320b
treeea9f084f1be947aa45bc7aed9c4985df654130c7
parente5dd4aad7f83c3257f4302e100b31690000e1a26
c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope definitions.

        * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
        definitions.
        * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
        recognize a tentative definition.  Lose obsolete code.

        * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
        variables unless necessary, either.

From-SVN: r40066
gcc/ChangeLog
gcc/c-decl.c
gcc/toplev.c