This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34937] [4.1/4.2/4.3 regression] ICE with attribute weak
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2008 16:30:13 -0000
- Subject: [Bug c++/34937] [4.1/4.2/4.3 regression] ICE with attribute weak
- References: <bug-34937-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from steven at gcc dot gnu dot org 2008-01-23 16:30 -------
What would be the semantics of "weak" on a template member? That is, how would
the weak reference be overridden?
What I'm looking for is an example of what GCC did with this declaration when
it was still accepted.
The question behind the question is: Should this be valid code? ;-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34937