public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55368] New: Comma before semicolon in struct definition is not rejected
@ 2012-11-17 16:46 joerg at netbsd dot org
2012-11-18 16:55 ` [Bug c++/55368] " redi at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: joerg at netbsd dot org @ 2012-11-17 16:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55368
Bug #: 55368
Summary: Comma before semicolon in struct definition is not
rejected
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: joerg@netbsd.org
Test case:
struct A { struct B *C,; };
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/55368] Comma before semicolon in struct definition is not rejected
2012-11-17 16:46 [Bug c++/55368] New: Comma before semicolon in struct definition is not rejected joerg at netbsd dot org
@ 2012-11-18 16:55 ` redi at gcc dot gnu.org
2012-11-19 12:11 ` paolo.carlini at oracle dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-18 16:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55368
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-11-18
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/55368] Comma before semicolon in struct definition is not rejected
2012-11-17 16:46 [Bug c++/55368] New: Comma before semicolon in struct definition is not rejected joerg at netbsd dot org
2012-11-18 16:55 ` [Bug c++/55368] " redi at gcc dot gnu.org
@ 2012-11-19 12:11 ` paolo.carlini at oracle dot com
2012-11-19 14:41 ` paolo at gcc dot gnu.org
2012-11-19 14:43 ` paolo.carlini at oracle dot com
3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-19 12:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55368
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-19 12:11:06 UTC ---
On it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/55368] Comma before semicolon in struct definition is not rejected
2012-11-17 16:46 [Bug c++/55368] New: Comma before semicolon in struct definition is not rejected joerg at netbsd dot org
2012-11-18 16:55 ` [Bug c++/55368] " redi at gcc dot gnu.org
2012-11-19 12:11 ` paolo.carlini at oracle dot com
@ 2012-11-19 14:41 ` paolo at gcc dot gnu.org
2012-11-19 14:43 ` paolo.carlini at oracle dot com
3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-11-19 14:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55368
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-11-19 14:41:33 UTC ---
Author: paolo
Date: Mon Nov 19 14:41:26 2012
New Revision: 193624
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193624
Log:
/cp
2012-11-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55368
* parser.c (cp_parser_member_declaration): Emit an error in case
of stray comma at end of member declaration.
/testsuite
2012-11-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55368
* g++.dg/parse/struct-5.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/struct-5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/55368] Comma before semicolon in struct definition is not rejected
2012-11-17 16:46 [Bug c++/55368] New: Comma before semicolon in struct definition is not rejected joerg at netbsd dot org
` (2 preceding siblings ...)
2012-11-19 14:41 ` paolo at gcc dot gnu.org
@ 2012-11-19 14:43 ` paolo.carlini at oracle dot com
3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-19 14:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55368
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.8.0
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-19 14:42:48 UTC ---
Fixed for 4.8.0.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-19 14:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-17 16:46 [Bug c++/55368] New: Comma before semicolon in struct definition is not rejected joerg at netbsd dot org
2012-11-18 16:55 ` [Bug c++/55368] " redi at gcc dot gnu.org
2012-11-19 12:11 ` paolo.carlini at oracle dot com
2012-11-19 14:41 ` paolo at gcc dot gnu.org
2012-11-19 14:43 ` paolo.carlini at oracle dot com
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).