public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
[not found] <bug-23440-1771@http.gcc.gnu.org/bugzilla/>
@ 2005-10-17 22:22 ` cvs-commit at gcc dot gnu dot org
2005-10-17 22:27 ` cvs-commit at gcc dot gnu dot org
2005-10-17 22:28 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-17 22:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from cvs-commit at gcc dot gnu dot org 2005-10-17 22:22 -------
Subject: Bug 23440
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: reichelt@gcc.gnu.org 2005-10-17 22:22:30
Modified files:
gcc/cp : ChangeLog parser.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/parse: for1.C
Log message:
PR c++/23440
* parser.c (cp_parser_statement): If the parser reached CPP_EOF,
only complain about missing statement.
* g++.dg/parse/for1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4942&r2=1.4943
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.366&r2=1.367
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6206&r2=1.6207
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/for1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
[not found] <bug-23440-1771@http.gcc.gnu.org/bugzilla/>
2005-10-17 22:22 ` [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend cvs-commit at gcc dot gnu dot org
@ 2005-10-17 22:27 ` cvs-commit at gcc dot gnu dot org
2005-10-17 22:28 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-17 22:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-17 22:27 -------
Subject: Bug 23440
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: reichelt@gcc.gnu.org 2005-10-17 22:26:58
Modified files:
gcc/cp : ChangeLog parser.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/parse: for1.C
Log message:
PR c++/23440
* parser.c (cp_parser_statement): If the parser reached CPP_EOF,
only complain about missing statement.
* g++.dg/parse/for1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.140&r2=1.4648.2.141
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.319.2.24&r2=1.319.2.25
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.464&r2=1.5084.2.465
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/for1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
[not found] <bug-23440-1771@http.gcc.gnu.org/bugzilla/>
2005-10-17 22:22 ` [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend cvs-commit at gcc dot gnu dot org
2005-10-17 22:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-17 22:28 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-10-17 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from reichelt at gcc dot gnu dot org 2005-10-17 22:28 -------
Fixed on mainline and 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=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-09-11 21:19 ` reichelt at gcc dot gnu dot org
@ 2005-09-27 16:00 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:00 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-09-10 5:28 ` pinskia at gcc dot gnu dot org
@ 2005-09-11 21:19 ` reichelt at gcc dot gnu dot org
2005-09-27 16:00 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-09-11 21:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |09/msg00680.html
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-08-26 15:05 ` pinskia at gcc dot gnu dot org
@ 2005-09-10 5:28 ` pinskia at gcc dot gnu dot org
2005-09-11 21:19 ` reichelt at gcc dot gnu dot org
2005-09-27 16:00 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 5:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 05:27 -------
*** Bug 23223 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |flash at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-18 11:50 ` bonzini at gcc dot gnu dot org
@ 2005-08-26 15:05 ` pinskia at gcc dot gnu dot org
2005-09-10 5:28 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 15:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:02 -------
: Search converges between 2004-10-20-014001-trunk (#600) and 2004-10-20-161001-trunk
(#601).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
2005-08-17 10:59 ` [Bug c++/23440] " reichelt at gcc dot gnu dot org
2005-08-17 11:23 ` reichelt at gcc dot gnu dot org
@ 2005-08-18 11:50 ` bonzini at gcc dot gnu dot org
2005-08-26 15:05 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-08-18 11:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-08-18 11:47 -------
Well all the crashes are in annotate_with_file_line, so:
- if we want to work around this issue, like in the patch attached to pr23439,
it is a duplicate
- if we want a fix in the parsers, it is a separate bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
2005-08-17 10:59 ` [Bug c++/23440] " reichelt at gcc dot gnu dot org
@ 2005-08-17 11:23 ` reichelt at gcc dot gnu dot org
2005-08-18 11:50 ` bonzini at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-17 11:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-17 10:59 -------
Confirming this myself since it was already reported in PR23439
by Serge Belyshev.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-17 10:59:40
date| |
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
@ 2005-08-17 10:59 ` reichelt at gcc dot gnu dot org
2005-08-17 11:23 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-17 10:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|23439 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-10-17 22:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-23440-1771@http.gcc.gnu.org/bugzilla/>
2005-10-17 22:22 ` [Bug c++/23440] [4.0/4.1 regression] "void f(){for" crashes the C++ frontend cvs-commit at gcc dot gnu dot org
2005-10-17 22:27 ` cvs-commit at gcc dot gnu dot org
2005-10-17 22:28 ` reichelt at gcc dot gnu dot org
2005-08-17 10:56 [Bug c++/23440] New: " reichelt at gcc dot gnu dot org
2005-08-17 10:59 ` [Bug c++/23440] " reichelt at gcc dot gnu dot org
2005-08-17 11:23 ` reichelt at gcc dot gnu dot org
2005-08-18 11:50 ` bonzini at gcc dot gnu dot org
2005-08-26 15:05 ` pinskia at gcc dot gnu dot org
2005-09-10 5:28 ` pinskia at gcc dot gnu dot org
2005-09-11 21:19 ` reichelt at gcc dot gnu dot org
2005-09-27 16:00 ` mmitchel 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).