------- Comment #1 from pinskia at gcc dot gnu dot org  2006-10-20 07:24 -------
Note I could not find this bug filed so I filed it.  Also note I found it while
looking at PR 29518.
Oh and the error message is:
[EMAIL PROTECTED] ~]$ ~/gcc-4.0/bin/gcc t.cc
t.cc: In instantiation of ‘const int N<int>::t’:
t.cc:13:   instantiated from here
t.cc:7: error: ‘N<int>::okay’ is not a valid template argument for type ‘int’
because it is a non-constant expression
t.cc:7: error: no matching function for call to ‘assertion_failed(int)’


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.4
      Known to work|                            |3.2.3 4.1.2 4.2.0
   Target Milestone|---                         |4.0.4


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

Reply via email to