Hi
with -flto -g -O2 -r -nostdlib -flinker-output=nolto-rel I get ICE on:
class a;
namespace b {
template <typename> struct c;
struct C {
  typedef a d;
};
void e();
}
template <typename f> class g : f {
public:
  template <typename i> g(i);
};
class a {
  long k;
};
namespace b {
template <> struct c<a> { template <typename j, typename h> static a l(j, h); };
}
template <typename j, typename h> b::C::d b::e(j m, h n) { c<a>::l(m, n); }
void o() {
  g<a> p = 0;
  a r(b::e(r, p));
}

Reply via email to