This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14085] [3.5 Regression] when compiling template functors
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 16:15:52 -0000
- Subject: [Bug c++/14085] [3.5 Regression] when compiling template functors
- References: <20040209142828.14085.dds@aueb.gr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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