https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Known to work| |4.6.4 Keywords| |ice-on-invalid-code Last reconfirmed| |2016-03-31 Ever confirmed|0 |1 Summary|ICE on valid code on |[4.9/5/6 Regression] ICE on |x86_64-linux-gnu in |valid code on |emit_mem_initializers, at |x86_64-linux-gnu in |cp/init.c:1109 |emit_mem_initializers, at | |cp/init.c:1109 Target Milestone|--- |4.9.4 Known to fail| |4.7.3, 4.8.5, 4.9.3, 5.3.0, | |6.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed but invalid code: > /space/rguenther/install/gcc-4.6.4/bin/g++ t.C -S t.C: In constructor ‘A< <template-parameter-1-1> >::A() [with <template-parameter-1-1> = S]’: t.C:22:5: instantiated from ‘B<T1, T2>& operator<<(B<T1, T2>&, int) [with T1 = S, T2 = S]’ t.C:26:47: instantiated from here t.C:7:25: error: type ‘A<>’ is not a direct base of ‘A<>’