[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 1 10:59:00 GMT 2010



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-03-01 10:59 -------
Confirmed.  The testcase is invalid (apart from the missing semi-colon):

t.ii(9): error: class "Image<float>" has no member "PixelType"
  template<typename TInputImage, typename TOutputImage=Image< CovariantVector<
typename NumericTraits< typename TInputImage ::PixelType > ::TInputImage > > >
                                                                               
                                              ^
          detected during processing of template argument list for "XXX" based
on template argument <Image<float>> at line 12

or 4.4:

t.ii:12: error: no type named 'PixelType' in 'class Image<float>'
t.ii:12: error: template argument 2 is invalid
t.ii:12: error: invalid type in declaration before ';' token


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
      Known to work|                            |4.4.3
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-01 10:59:37
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206



More information about the Gcc-bugs mailing list