This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/52640] [4.5/4.6/4.7/4.8 Regression] performance bottleneck: gcc/tree.c;value_member


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640

--- Comment #12 from Steven Bosscher <steven at gcc dot gnu.org> 2012-03-24 13:47:51 UTC ---
Author: steven
Date: Sat Mar 24 13:47:46 2012
New Revision: 185758

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185758
Log:
gcc/
    PR middle-end/52640
    * varasm.c: Include pointer-set.h.
    (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.

testsuite/
    PR middle-end/52640
    * gcc.c-torture/compile/limits-externdecl.c: New test.

Added:
   
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/limits-externdecl.c
Modified:
    branches/gcc-4_6-branch/gcc/varasm.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]