This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]