public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23440] New: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
@ 2005-08-17 10:56 reichelt at gcc dot gnu dot org
2005-08-17 10:59 ` [Bug c++/23440] " reichelt at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-17 10:56 UTC (permalink / raw)
To: gcc-bugs
Since GCC 4.0.0 the C++ frontend ICEs on code like
void foo() { for
But unlike PR23439 the C++ parser also ICEs on
void foo() { for (;;)
or
void foo() { if ()
or
void foo() { while ()
--
Summary: [4.0/4.1 regression] "void f(){for" crashes the C++
frontend
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: belyshev at depni dot sinp dot msu dot ru,gcc-bugs at
gcc dot gnu dot org
BugsThisDependsOn: 23439
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440
^ permalink raw reply [flat|nested] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ 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: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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; 11+ 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] 11+ messages in thread
[parent not found: <bug-23440-1771@http.gcc.gnu.org/bugzilla/>]
end of thread, other threads:[~2005-10-17 22:28 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-17 10:56 [Bug c++/23440] New: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend 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
[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
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).