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
* [Bug c++/19366] [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
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 ` lerdsuwa at gcc dot gnu dot org
2005-01-10 17:14 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-01-10 16:15 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/19366] [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-10 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-10 17:14 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-10 17:14:40
date| |
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/19366] [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2005-01-21 6:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aoliva at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/19366] [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
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
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-01 5:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-01 05:56 -------
Subject: Bug 19366
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: aoliva@gcc.gnu.org 2005-02-01 05:56:08
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog parser.c pt.c
gcc/testsuite/g++.dg/parse: typename7.C
Log message:
gcc/cp/ChangeLog:
PR c++/18757
PR c++/19366
PR c++/19499
* parser.c (cp_parser_template_id): Revert 2004-12-09's patch.
Issue an error when creating the template id.
* pt.c (fn_type_unification): Return early if the explicit
template arg list is an error_mark_node.
gcc/testsuite/ChangeLog:
* g++.dg/parse/typename7.C: Adjust error messages.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4967&r2=1.4968
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4607&r2=1.4608
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.306&r2=1.307
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.970&r2=1.971
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/typename7.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/19366] [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
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
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-01 7:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-01 07:04 -------
Subject: Bug 19366
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: aoliva@gcc.gnu.org 2005-02-01 07:04:01
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog parser.c pt.c
gcc/testsuite/g++.dg/parse: typename7.C
Log message:
gcc/cp/ChangeLog:
PR c++/18757
PR c++/19366
PR c++/19499
* parser.c (cp_parser_template_id): Revert 2004-12-09's patch.
Issue an error when creating the template id.
* pt.c (fn_type_unification): Return early if the explicit
template arg list is an error_mark_node.
gcc/testsuite/ChangeLog:
* g++.dg/parse/typename7.C: Adjust error messages.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.354&r2=1.3389.2.355
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.193&r2=1.3892.2.194
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.157.2.50&r2=1.157.2.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.816.2.49&r2=1.816.2.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/typename7.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1.10.1&r2=1.1.10.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/19366] [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
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
` (4 preceding siblings ...)
2005-02-01 7:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-01 10:48 ` giovannibajo at libero dot it
5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2005-02-01 10:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-02-01 10:48 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
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).