mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 14:19:33 +08:00
toplev.c (rest_of_decl_compilation): Do not finalize external virables.
* toplev.c (rest_of_decl_compilation): Do not finalize external virables. From-SVN: r71148
This commit is contained in:
parent
9778f2f8b5
commit
7e668417e9
@ -1,3 +1,8 @@
|
|||||||
|
Sun Sep 7 00:22:22 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
* toplev.c (rest_of_decl_compilation): Do not finalize external
|
||||||
|
virables.
|
||||||
|
|
||||||
Sat Sep 6 23:49:13 CEST 2003 Jan Hubicka <jh@suse.cz>
|
Sat Sep 6 23:49:13 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
PR target/12070
|
PR target/12070
|
||||||
|
@ -1867,7 +1867,7 @@ rest_of_decl_compilation (tree decl,
|
|||||||
|
|
||||||
/* Don't output anything when a tentative file-scope definition
|
/* Don't output anything when a tentative file-scope definition
|
||||||
is seen. But at end of compilation, do output code for them. */
|
is seen. But at end of compilation, do output code for them. */
|
||||||
if (at_end || !DECL_DEFER_OUTPUT (decl))
|
if ((at_end || !DECL_DEFER_OUTPUT (decl)) && !DECL_EXTERNAL (decl))
|
||||||
{
|
{
|
||||||
if (flag_unit_at_a_time && !cgraph_global_info_ready
|
if (flag_unit_at_a_time && !cgraph_global_info_ready
|
||||||
&& TREE_CODE (decl) != FUNCTION_DECL && top_level)
|
&& TREE_CODE (decl) != FUNCTION_DECL && top_level)
|
||||||
|
Loading…
Reference in New Issue
Block a user