This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19366] New: [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2005 16:13:39 -0000
- Subject: [Bug c++/19366] New: [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the testcase g++.dg/template/error10.C produces
too many duplicate error messages about missing '>'.
The error location contains invalid token '>>' that should
be replaced with '> >'.
error10.C:12: error: '>>' should be '> >' within a nested template argument list
error10.C:13: error: spurious '>>', use '>' to terminate a template argument list
error10.C:57: error: a call to a constructor cannot appear in a constant-expression
error10.C:57: error: template argument 1 is invalid
error10.C:57: error: invalid type in declaration before ';' token
error10.C:69: error: missing '>' to terminate the template argument list
error10.C:69: error: template argument 1 is invalid
error10.C:69: error: missing '>' to terminate the template argument list
error10.C:69: error: template argument 1 is invalid
error10.C:69: error: missing '>' to terminate the template argument list
error10.C:69: error: template argument 1 is invalid
error10.C:69: error: missing '>' to terminate the template argument list
...
--
Summary: [4.0 Regression] Excessive duplicate error messages
trying to treat '>>' as '> >'
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lerdsuwa at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366