public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19366] New: [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
@ 2005-01-10 16:13 lerdsuwa at gcc dot gnu dot org
  2005-01-10 16:15 ` [Bug c++/19366] " lerdsuwa at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-01-10 16:13 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-01 10:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-10 16:13 [Bug c++/19366] New: [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >' lerdsuwa at gcc dot gnu dot org
2005-01-10 16:15 ` [Bug c++/19366] " lerdsuwa at gcc dot gnu dot org
2005-01-10 17:14 ` pinskia at gcc dot gnu dot org
2005-01-21  6:42 ` aoliva at gcc dot gnu dot org
2005-02-01  5:57 ` cvs-commit at gcc dot gnu dot org
2005-02-01  7:04 ` cvs-commit at gcc dot gnu dot org
2005-02-01 10:48 ` giovannibajo at libero dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).