diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-04 08:45:42 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-04 08:45:42 +0000 |
commit | ec5065ec064ad6976106a31f42469b214ed07db8 (patch) | |
tree | 0b51c31026a40859305a32c61ab4866cd6f2654f /gcc/toplev.c | |
parent | 29c42daf675f1f54b9de6f956d9ae08d6bf294c2 (diff) | |
download | gcc-ec5065ec064ad6976106a31f42469b214ed07db8.tar.gz |
* toplev.c (wrapup_global_declarations): Fix final pass in
unit-at-atime mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index b98538568e3..b7d23b2ee43 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1571,7 +1571,7 @@ wrapup_global_declarations (tree *vec, int len) if (flag_unit_at_a_time && cgraph_varpool_node (decl)->finalized) needed = 0; - else if (flag_unit_at_a_time + else if ((flag_unit_at_a_time && !cgraph_global_info_ready) && (TREE_USED (decl) || TREE_USED (DECL_ASSEMBLER_NAME (decl)))) /* needed */; |