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 libstdc++/11313] [3.3 only] #pragma weak and static inline functions


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at apple dot com
             Status|UNCONFIRMED                 |NEW
          Component|bootstrap                   |libstdc++
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-24 12:47:44
               date|                            |
            Summary|#pragma weak and static     |[3.3 only] #pragma weak and
                   |inline functions            |static inline functions
   Target Milestone|3.4                         |3.3.2


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-24 12:47 -------
I think this is fixed on the mainline by:
2003-07-22  Geoffrey Keating

        * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
        (finish_decl): Call maybe_apply_pragma_weak here.
        (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
        TREE_PUBLIC and TREE_STATIC are decided.
        (start_function): Move call to maybe_apply_pragma_weak.  Check that
        DECL_ASSEMBLER_NAME isn't set too early.

Keating would you mind asking for 3.3.2 inclusion?


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