This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51925] [4.7 Regression] ICE in tsubst
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 Jan 2012 03:12:00 +0000
- Subject: [Bug c++/51925] [4.7 Regression] ICE in tsubst
- Auto-submitted: auto-generated
- References: <bug-51925-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51925
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-21
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-21 03:12:00 UTC ---
Further reduced (no need for the operator T1 or really most of the other
classes):
struct E
{
int e ();
};
template <typename T1>
struct G : public E
{
using E::e;
template <int> void e ();
void f () { e <0> (); }
};
int f(void)
{
G<int> a;
a.f();
}
--- CUT ---
Confirmed.