http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53816
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-02
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-07-02
09:47:02 UTC ---
Slightly reduced:
template <typename T>
struct S { int v () const; };
template <typename T>
struct V : public S<T> {};
struct U
{
V<int> v;
template<typename T>
struct W
{
W (U const &x) { V<int> const &v = x.v; v.v(); }
};
};
Started failing with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172165
aka PR48500 (so it surprises me it doesn't hit 4.6.x too because that change
has been backported there too).