This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11313] [3.3 only] #pragma weak and static inline functions
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2003 12:47:45 -0000
- Subject: [Bug libstdc++/11313] [3.3 only] #pragma weak and static inline functions
- References: <20030624194817.11313.georgaj@navcanada.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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?