This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51925] [4.7 Regression] ICE in tsubst


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]