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/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c



------- Comment #81 from hp at gcc dot gnu dot org  2008-09-22 01:55 -------
Subject: Bug 37170

Author: hp
Date: Mon Sep 22 01:54:03 2008
New Revision: 140539

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140539
Log:
        PR middle-end/37170
        PR middle-end/37280
        * final.c (mark_symbol_ref_as_used): New helper function.
        (output_operand): Instead of just looking inside MEMs for
        SYMBOL_REFs, use new helper function and for_each_rtx.
        * varasm.c (assemble_external): Move #ifndef ASM_OUTPUT_EXTERNAL
        to after weak-handling.  Don't mark decls with TREE_STATIC as weak.
        Make head comment more general.
        * config/darwin.c (machopic_output_indirection): Handle weak
        references here, like in assemble_external.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/darwin.c
    trunk/gcc/final.c
    trunk/gcc/varasm.c


-- 


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


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