This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11788] [3.4 regression] missing implicit instantiation of static member function
- 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: 4 Aug 2003 15:05:19 -0000
- Subject: [Bug c++/11788] [3.4 regression] missing implicit instantiation of static member function
- References: <20030804141918.11788.reichelt@gcc.gnu.org>
- 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=11788
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-04 15:05:19
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-04 15:05 -------
I can confirm this on the mainline (20030804).
Another example:
template <typename> struct A
{
static void foo() {}
};
typedef void (*a)(void);
a f()
{
A<int> a;
return &a.foo;
}
int main()
{
f()();
return 0;
}