Skip to content
Snippets Groups Projects
Commit 57dab792 authored by Steven Bosscher's avatar Steven Bosscher Committed by Jakub Jelinek
Browse files

re PR middle-end/52640 (performance bottleneck: gcc/tree.c;value_member)


	PR middle-end/52640
	* varasm.c (pending_assemble_externals_set): New pointer set.
	(process_pending_assemble_externals): Destroy the pointer set.
	(assemble_external): See if decl is in pending_assemble_externals_set,
	and add it to pending_assemble_externals if necessary.
	(init_varasm_once): Allocate pending_assemble_externals_set.

	* gcc.c-torture/compile/limits-externdecl.c: New test.

Co-Authored-By: default avatarJakub Jelinek <jakub@redhat.com>

From-SVN: r194441
parent 62b3f0f0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment