Revision 145440: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00060.html
caused: [...@gnu-34 rrs]$ cat pr43087.cc template<class A> class NumericTraits{}; template<class B> class CovariantVector{}; template<class C> class Image{}; template<class H, class E, class D> class F { typedef H G; typedef typename NumericTraits<typename G::PixelType>::RealType InputRealType; }; template<typename TInputImage, typename TOutputImage=Image< CovariantVector< typename NumericTraits< typename TInputImage ::PixelType > ::TInputImage > > > class XXX{}; XXX<Image<float> > [...@gnu-34 rrs]$ ./145440/usr/bin/gcc -S pr43087.cc pr43087.cc:25: internal compiler error: tree check: accessed elt 3 of tree_vec with 2 elts in tsubst, at cp/pt.c:9249 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206