[Bug c++/14085] [3.5 Regression] when compiling template functors

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 9 16:15:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-09 16:15 -------
Well the ICE might be gone but there is a diagnostic problem in 3.5.0 which makes this a regression:
pr14085.cc:6: error: `#`template_type_parm' not supported by dump_decl#<declaration error>::
first_argument_type' is not a type
pr14085.cc:6: error: `#`template_type_parm' not supported by dump_decl#<declaration error>::
second_argument_type' is not a type
pr14085.cc:7: error: ISO C++ forbids declaration of `a' with no type
pr14085.cc:7: error: ISO C++ forbids declaration of `b' with no type
pr14085.cc: In function `int main(int, char**)':
pr14085.cc:14: error: missing template arguments before ',' token

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Keywords|                            |diagnostic
      Known to work|                            |3.2.2 3.2.3 3.0.4 3.3.1
            Summary|Internal error when         |[3.5 Regression] when
                   |compiling template functors |compiling template functors
   Target Milestone|---                         |3.5.0


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



More information about the Gcc-bugs mailing list