public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing. @ 2004-02-05 12:51 mattyt-bugzilla at tpg dot com dot au 2004-02-05 15:44 ` [Bug c++/14028] [3.4/3.5 regression] " bangerth at dealii dot org ` (8 more replies) 0 siblings, 9 replies; 10+ messages in thread From: mattyt-bugzilla at tpg dot com dot au @ 2004-02-05 12:51 UTC (permalink / raw) To: gcc-bugs The following code: template < typename TP > struct A {}; template < typename TP > class B : public TP::template K < A < TP > {}; is accepted by 3.4, but should presumably be rejected due to the unbalanced triangular bracketing. 3.2 and 3.3 reject this like they should. -- Summary: Parser accepts invalid unbalanced triangular bracketing. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mattyt-bugzilla at tpg dot com dot au CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au @ 2004-02-05 15:44 ` bangerth at dealii dot org 2004-02-05 16:31 ` giovannibajo at libero dot it ` (7 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: bangerth at dealii dot org @ 2004-02-05 15:44 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bangerth at dealii dot org 2004-02-05 15:43 ------- Interesting. A regression indeed. Confirmed to fail with 3.4 and mainline. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |accepts-invalid Known to fail| |3.4.0 3.5.0 Known to work| |3.2.3 3.3.3 2.95.3 Last reconfirmed|0000-00-00 00:00:00 |2004-02-05 15:43:56 date| | Summary|Parser accepts invalid |[3.4/3.5 regression] Parser |unbalanced triangular |accepts invalid unbalanced |bracketing. |triangular bracketing. Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au 2004-02-05 15:44 ` [Bug c++/14028] [3.4/3.5 regression] " bangerth at dealii dot org @ 2004-02-05 16:31 ` giovannibajo at libero dot it 2004-02-06 4:11 ` giovannibajo at libero dot it ` (6 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: giovannibajo at libero dot it @ 2004-02-05 16:31 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From giovannibajo at libero dot it 2004-02-05 16:31 ------- What does the reghunt says here? I have a feeling about my patch about ">>". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au 2004-02-05 15:44 ` [Bug c++/14028] [3.4/3.5 regression] " bangerth at dealii dot org 2004-02-05 16:31 ` giovannibajo at libero dot it @ 2004-02-06 4:11 ` giovannibajo at libero dot it 2004-02-06 15:43 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: giovannibajo at libero dot it @ 2004-02-06 4:11 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From giovannibajo at libero dot it 2004-02-06 04:11 ------- Mine. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot |dot org |it Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au ` (2 preceding siblings ...) 2004-02-06 4:11 ` giovannibajo at libero dot it @ 2004-02-06 15:43 ` pinskia at gcc dot gnu dot org 2004-02-06 17:24 ` cvs-commit at gcc dot gnu dot org ` (4 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-06 15:43 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 15:43 ------- Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00557.html>. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au ` (3 preceding siblings ...) 2004-02-06 15:43 ` pinskia at gcc dot gnu dot org @ 2004-02-06 17:24 ` cvs-commit at gcc dot gnu dot org 2004-02-06 17:27 ` cvs-commit at gcc dot gnu dot org ` (3 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-02-06 17:24 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-06 17:24 ------- Subject: Bug 14028 CVSROOT: /cvs/gcc Module name: gcc Changes by: giovannibajo@gcc.gnu.org 2004-02-06 17:24:32 Modified files: gcc/cp : ChangeLog parser.c Log message: PR c++/14028 * parser.c (cp_parser_enclosed_template_argument_list): Emit straight error when terminator can not be found. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3943&r2=1.3944 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.169&r2=1.170 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au ` (4 preceding siblings ...) 2004-02-06 17:24 ` cvs-commit at gcc dot gnu dot org @ 2004-02-06 17:27 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:14 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-02-06 17:27 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-06 17:27 ------- Subject: Bug 14028 CVSROOT: /cvs/gcc Module name: gcc Changes by: giovannibajo@gcc.gnu.org 2004-02-06 17:27:18 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/parse: angle-bracket2.C Log message: PR c++/14028 * g++.dg/parse/angle-bracket2.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3474&r2=1.3475 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/angle-bracket2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au ` (5 preceding siblings ...) 2004-02-06 17:27 ` cvs-commit at gcc dot gnu dot org @ 2004-02-06 18:14 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:15 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:16 ` giovannibajo at libero dot it 8 siblings, 0 replies; 10+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-02-06 18:14 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-06 18:14 ------- Subject: Bug 14028 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: giovannibajo@gcc.gnu.org 2004-02-06 18:14:37 Modified files: gcc/cp : ChangeLog parser.c Log message: PR c++/14028 * parser.c (cp_parser_enclosed_template_argument_list): Emit straight error when terminator can not be found. Patches: 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.41&r2=1.3892.2.42 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.10&r2=1.157.2.11 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au ` (6 preceding siblings ...) 2004-02-06 18:14 ` cvs-commit at gcc dot gnu dot org @ 2004-02-06 18:15 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:16 ` giovannibajo at libero dot it 8 siblings, 0 replies; 10+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-02-06 18:15 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-06 18:15 ------- Subject: Bug 14028 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: giovannibajo@gcc.gnu.org 2004-02-06 18:15:31 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/parse: angle-bracket2.C Log message: PR c++/14028 * g++.dg/parse/angle-bracket2.C: New test. 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.55&r2=1.3389.2.56 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/angle-bracket2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14028] [3.4/3.5 regression] Parser accepts invalid unbalanced triangular bracketing. 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au ` (7 preceding siblings ...) 2004-02-06 18:15 ` cvs-commit at gcc dot gnu dot org @ 2004-02-06 18:16 ` giovannibajo at libero dot it 8 siblings, 0 replies; 10+ messages in thread From: giovannibajo at libero dot it @ 2004-02-06 18:16 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From giovannibajo at libero dot it 2004-02-06 18:16 ------- Fixed in 3.4.0. Thank you for your report! -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028 ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-02-06 18:16 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au 2004-02-05 15:44 ` [Bug c++/14028] [3.4/3.5 regression] " bangerth at dealii dot org 2004-02-05 16:31 ` giovannibajo at libero dot it 2004-02-06 4:11 ` giovannibajo at libero dot it 2004-02-06 15:43 ` pinskia at gcc dot gnu dot org 2004-02-06 17:24 ` cvs-commit at gcc dot gnu dot org 2004-02-06 17:27 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:14 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:15 ` cvs-commit at gcc dot gnu dot org 2004-02-06 18:16 ` 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).