public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9230] Friend functions defined within template class definitions are injected into the namespace scope at template instantiation time even if there is no declaration.
[not found] <20030108084607.9230.bangerth@ticam.utexas.edu>
@ 2004-10-17 15:52 ` lerdsuwa at gcc dot gnu dot org
2005-01-16 1:27 ` pinskia at gcc dot gnu dot org
2005-09-16 0:58 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2004-10-17 15:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-10-17 15:52 -------
Working on friend class name injection. It's very likely
the fix also applies to friend function.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9230
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/9230] Friend functions defined within template class definitions are injected into the namespace scope at template instantiation time even if there is no declaration.
[not found] <20030108084607.9230.bangerth@ticam.utexas.edu>
2004-10-17 15:52 ` [Bug c++/9230] Friend functions defined within template class definitions are injected into the namespace scope at template instantiation time even if there is no declaration lerdsuwa at gcc dot gnu dot org
@ 2005-01-16 1:27 ` pinskia at gcc dot gnu dot org
2005-09-16 0:58 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-16 1:27 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Last reconfirmed|2004-04-26 19:40:07 |2005-01-16 01:27:55
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9230
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/9230] Friend functions defined within template class definitions are injected into the namespace scope at template instantiation time even if there is no declaration.
[not found] <20030108084607.9230.bangerth@ticam.utexas.edu>
2004-10-17 15:52 ` [Bug c++/9230] Friend functions defined within template class definitions are injected into the namespace scope at template instantiation time even if there is no declaration lerdsuwa at gcc dot gnu dot org
2005-01-16 1:27 ` pinskia at gcc dot gnu dot org
@ 2005-09-16 0:58 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-16 0:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-16 00:58 -------
Fixed in 4.1.0 by:
2005-09-12 Ian Lance Taylor <ian@airs.com>
PR g++/7874
* cp-tree.h (struct lang_decl_flags): Add hidden_friend_p
bitfield. Make dummy bitfield one bit smaller.
(DECL_HIDDEN_FRIEND_P): Define.
(pushdecl_maybe_friend): Declare.
(pushdecl_top_level_maybe_friend): Declare.
* decl.c (duplicate_decls): Add newdecl_is_friend parameter.
Change prototype and all callers. Add assertion that a
DECL_ARTIFICIAL FUNCTION_DECL is not DECL_HIDDEN_FRIEND_P. Set
DECL_ANTICIPATED and DECL_HIDDEN_FRIEND_P in duplicated decl if
appropriate.
....
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9230
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-16 0:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030108084607.9230.bangerth@ticam.utexas.edu>
2004-10-17 15:52 ` [Bug c++/9230] Friend functions defined within template class definitions are injected into the namespace scope at template instantiation time even if there is no declaration lerdsuwa at gcc dot gnu dot org
2005-01-16 1:27 ` pinskia at gcc dot gnu dot org
2005-09-16 0:58 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).