------- Comment #13 from rguenth at gcc dot gnu dot org 2008-02-12 23:13 ------- Ok, so based on comment #12 this is ice-on-valid-code, and that testcase "works" for me with 4.0 and 4.1 which produce:
g++-4.1 -S t.ii t.ii: In instantiation of A<T>: t.ii:12: instantiated from S<T> t.ii:19: instantiated from here t.ii:7: error: no type named unnecessary in T with 3.4 it ICEs with g++-3.4 -S t.ii t.ii: In instantiation of `A<T>': t.ii:12: instantiated from `S<T>' t.ii:19: instantiated from here t.ii:7: internal compiler error: in lookup_member, at cp/search.c:1300 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-3.4/README.Bugs>. while 3.3 and 2.95 accept it. No idea if we have a PR for 4.1 and the rejects-valid. Janis, can you hunt at where we started to go from the error with 4.1 to the ICE we now see? -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janis at gcc dot gnu dot org Status|WAITING |NEW Keywords| |ice-on-valid-code Known to fail|4.2.3 4.3.0 3.4.6 |4.2.3 4.3.0 Last reconfirmed|2008-02-12 08:17:03 |2008-02-12 23:13:53 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950