public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/18368] [3.4 Regression] C++ error message regression [not found] <bug-18368-6809@http.gcc.gnu.org/bugzilla/> @ 2005-10-05 15:49 ` cvs-commit at gcc dot gnu dot org 2005-10-05 15:50 ` reichelt at gcc dot gnu dot org 1 sibling, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-05 15:49 UTC (permalink / raw) To: gcc-bugs ------- Comment #9 from cvs-commit at gcc dot gnu dot org 2005-10-05 15:49 ------- Subject: Bug 18368 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: reichelt@gcc.gnu.org 2005-10-05 15:49:50 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/other: semicolon.C Log message: PR c++/18368 * g++.dg/other/semicolon.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.430&r2=1.5084.2.431 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/semicolon.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.2.10.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression [not found] <bug-18368-6809@http.gcc.gnu.org/bugzilla/> 2005-10-05 15:49 ` [Bug c++/18368] [3.4 Regression] C++ error message regression cvs-commit at gcc dot gnu dot org @ 2005-10-05 15:50 ` reichelt at gcc dot gnu dot org 1 sibling, 0 replies; 8+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-10-05 15:50 UTC (permalink / raw) To: gcc-bugs ------- Comment #10 from reichelt at gcc dot gnu dot org 2005-10-05 15:50 ------- Testcase now also on the 4.0 branch. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] New: C++ error message regression @ 2004-11-08 4:45 sabre at nondot dot org 2004-11-29 20:23 ` [Bug c++/18368] [3.4 Regression] " mmitchel at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 8+ messages in thread From: sabre at nondot dot org @ 2004-11-08 4:45 UTC (permalink / raw) To: gcc-bugs On this c++ code: struct C { struct foo { int A; } void method(); }; G++ 3.4 and above print the useless error message: t.cpp:3: error: new types may not be defined in a return type t.cpp:3: error: two or more data types in declaration of `method' G++ 3.3 prints something like this (which is actually useful): t.cpp:2: error: semicolon missing after declaration of `foo' t.cpp:2: error: ISO C++ forbids defining types within return type t.cpp:2: error: two or more data types in declaration of `method' t.cpp:2: error: semicolon missing after declaration of `struct foo' This probably also happens at global scope. -Chris -- Summary: C++ error message regression Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sabre at nondot dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org @ 2004-11-29 20:23 ` mmitchel at gcc dot gnu dot org 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 8+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2004-11-29 20:23 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-29 20:23 ------- Fixed in 4.0. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|[3.4/4.0 Regression] C++ |[3.4 Regression] C++ error |error message regression |message regression http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org 2004-11-29 20:23 ` [Bug c++/18368] [3.4 Regression] " mmitchel at gcc dot gnu dot org @ 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org 2005-09-01 14:56 ` reichelt at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 8+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:24 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.4.4 |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org 2004-11-29 20:23 ` [Bug c++/18368] [3.4 Regression] " mmitchel at gcc dot gnu dot org 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org @ 2005-09-01 14:56 ` reichelt at gcc dot gnu dot org 2005-09-17 21:57 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 8+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-09-01 14:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-09-01 14:56 ------- Taking care of the backport to the 3.4 branch. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mark at codesourcery dot com|reichelt at gcc dot gnu dot | |org URL| |http://gcc.gnu.org/ml/gcc- | |patches/2005- | |09/msg00033.html Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org ` (2 preceding siblings ...) 2005-09-01 14:56 ` reichelt at gcc dot gnu dot org @ 2005-09-17 21:57 ` cvs-commit at gcc dot gnu dot org 2005-09-17 22:05 ` cvs-commit at gcc dot gnu dot org 2005-09-17 22:07 ` reichelt at gcc dot gnu dot org 5 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-09-17 21:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-17 21:57 ------- Subject: Bug 18368 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: reichelt@gcc.gnu.org 2005-09-17 21:57:26 Modified files: gcc/cp : ChangeLog parser.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/other: semicolon.C Log message: Backport: 2004-11-27 Mark Mitchell <mark@codesourcery.com> PR c++/18368 * parser.c (cp_parser_check_for_definition_in_return_type): Take the defined type as a parameter, and inform the user about the possibility of a missing semicolon. (cp_parser_explicit_instantiation): Adjust call to cp_parser_check_for_definition_in_return_type. (cp_parser_init_declarator): Likewise. (cp_parser_member_declaration): Likewise. PR c++/18368 * g++.dg/other/semicolon.C: New test. 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.241&r2=1.3892.2.242 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.62&r2=1.157.2.63 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.435&r2=1.3389.2.436 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/semicolon.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=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org ` (3 preceding siblings ...) 2005-09-17 21:57 ` cvs-commit at gcc dot gnu dot org @ 2005-09-17 22:05 ` cvs-commit at gcc dot gnu dot org 2005-09-17 22:07 ` reichelt at gcc dot gnu dot org 5 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-09-17 22:05 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-17 22:05 ------- Subject: Bug 18368 CVSROOT: /cvs/gcc Module name: gcc Changes by: reichelt@gcc.gnu.org 2005-09-17 22:05:39 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/other: semicolon.C Log message: PR c++/18368 * g++.dg/other/semicolon.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6073&r2=1.6074 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/semicolon.C.diff?cvsroot=gcc&r1=1.1&r2=1.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18368] [3.4 Regression] C++ error message regression 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org ` (4 preceding siblings ...) 2005-09-17 22:05 ` cvs-commit at gcc dot gnu dot org @ 2005-09-17 22:07 ` reichelt at gcc dot gnu dot org 5 siblings, 0 replies; 8+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-09-17 22:07 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-09-17 22:07 ------- This is now fixed also on the 3.4 branch. Testcase applied to 3.4 branch and mainline. Waiting for the 4.0 branch to thaw before committing testcase there. Keeping PR open until testcase is committed to 4.0 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-10-05 15:50 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-18368-6809@http.gcc.gnu.org/bugzilla/> 2005-10-05 15:49 ` [Bug c++/18368] [3.4 Regression] C++ error message regression cvs-commit at gcc dot gnu dot org 2005-10-05 15:50 ` reichelt at gcc dot gnu dot org 2004-11-08 4:45 [Bug c++/18368] New: " sabre at nondot dot org 2004-11-29 20:23 ` [Bug c++/18368] [3.4 Regression] " mmitchel at gcc dot gnu dot org 2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org 2005-09-01 14:56 ` reichelt at gcc dot gnu dot org 2005-09-17 21:57 ` cvs-commit at gcc dot gnu dot org 2005-09-17 22:05 ` cvs-commit at gcc dot gnu dot org 2005-09-17 22:07 ` reichelt at gcc dot gnu dot org
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).