[Bug c++/28827] [4.0 Regression] ICE with nested template friend
--- Comment #4 from bangerth at dealii dot org 2006-10-12 01:47 --- I can confirm that this is apparently fixed now. W. -- bangerth at dealii dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28827
[Bug c++/28827] [4.0 Regression] ICE with nested template friend
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28827
[Bug c++/28827] [4.0 Regression] ICE with nested template friend
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-24 01:00 --- 4.2.0 rejects the code: t.cc:10: error: 'Crash' is not a member of 'T' This code is invalid. 3.3 gave: t.cc:10: error: typename type `typename BaseT::Derived::Crash' declared `friend' ICC gives: t.cc(10): error: a qualified friend template declaration must refer to a specific previously declared template friend struct BaseT::Derived::Crash; ^ compilation aborted for t.cc (code 2) -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Keywords||ice-on-invalid-code Known to fail||3.0.4 4.0.0 Summary|[4.0.3 regression] ICE with |[4.0 Regression] ICE with |nested template friend |nested template friend http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28827
[Bug c++/28827] [4.0 Regression] ICE with nested template friend
--- Comment #2 from proppy at aminche dot com 2006-08-24 02:22 --- (In reply to comment #1) 4.2.0 rejects the code: t.cc:10: error: 'Crash' is not a member of 'T' nested.cpp:10: internal compiler error: in lookup_member, at cp/search.c:1212 on g++-4.2 version 4.2.0 20060709 (experimental) (Debian 4.2-20060709-1) which g++-4.2 revision are you using to get ?: t.cc:10: error: 'Crash' is not a member of 'T' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28827
[Bug c++/28827] [4.0 Regression] ICE with nested template friend
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-24 03:41 --- (In reply to comment #2) which g++-4.2 revision are you using to get ?: 4.2.0 20060821 aka two days ago's. I bet it was also fixed by 28304. You are using a month's old 4.2 compiler which is why you don't see the fix. If you are going to try the mainline, please try with at a max a week old compiler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28827