mirror of git://gcc.gnu.org/git/gcc.git
varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL.
* varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL. From-SVN: r194559
This commit is contained in:
parent
cdbf870f4e
commit
b076fff3ab
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-12-17 Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
||||||
|
|
||||||
|
* varasm.c (pending_assemble_externals_processed): Guard
|
||||||
|
with ASM_OUTPUT_EXTERNAL.
|
||||||
|
|
||||||
2012-12-17 Andrew Stubbs <ams@codesourcery.com>
|
2012-12-17 Andrew Stubbs <ams@codesourcery.com>
|
||||||
Ulrich Weigand <ulrich.weigand@linaro.org>
|
Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2088,12 +2088,12 @@ contains_pointers_p (tree type)
|
||||||
it all the way to final. See PR 17982 for further discussion. */
|
it all the way to final. See PR 17982 for further discussion. */
|
||||||
static GTY(()) tree pending_assemble_externals;
|
static GTY(()) tree pending_assemble_externals;
|
||||||
|
|
||||||
|
#ifdef ASM_OUTPUT_EXTERNAL
|
||||||
/* Some targets delay some output to final using TARGET_ASM_FILE_END.
|
/* Some targets delay some output to final using TARGET_ASM_FILE_END.
|
||||||
As a result, assemble_external can be called after the list of externals
|
As a result, assemble_external can be called after the list of externals
|
||||||
is processed and the pointer set destroyed. */
|
is processed and the pointer set destroyed. */
|
||||||
static bool pending_assemble_externals_processed;
|
static bool pending_assemble_externals_processed;
|
||||||
|
|
||||||
#ifdef ASM_OUTPUT_EXTERNAL
|
|
||||||
/* Avoid O(external_decls**2) lookups in the pending_assemble_externals
|
/* Avoid O(external_decls**2) lookups in the pending_assemble_externals
|
||||||
TREE_LIST in assemble_external. */
|
TREE_LIST in assemble_external. */
|
||||||
static struct pointer_set_t *pending_assemble_externals_set;
|
static struct pointer_set_t *pending_assemble_externals_set;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue