This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Cleanup DECL streaming
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));
}