public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/9262: gcc-3.4 segfaults on false case label
@ 2003-01-10 17:10 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-01-10 17:10 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rassahah
Synopsis: gcc-3.4 segfaults on false case label
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Jan 10 09:09:37 2003
State-Changed-Why:
Confirmed. The code crashes 3.3 and 3.4, but not 3.2 and
previous versions.
My compiler collection tells me that the ICE is displayed
since a change between 2002-01-15 and 2002-02-01. However,
before that I get "confused by previous errors...", a
behavior that started between 2001-02-01 and 2001-02-15.
Before that I see the ICE again, so this information is
probably not of great help in this case...
W:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9262
^ permalink raw reply [flat|nested] 2+ messages in thread
* c/9262: gcc-3.4 segfaults on false case label
@ 2003-01-10 16:46 rassahah
0 siblings, 0 replies; 2+ messages in thread
From: rassahah @ 2003-01-10 16:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 9262
>Category: c
>Synopsis: gcc-3.4 segfaults on false case label
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 10 08:46:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Rasmus Hahn
>Release: gcc-3.4-cvs 20030109 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
Thread model: posix
>Description:
gcc aborts with segfault after a parse error. Seems new since gcc-3.3:
output:
$ gcc x.c
x.c: In function `main':
x.c:5: error: parse error before "case"
x.c:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
$
>How-To-Repeat:
x.c:
int main () {
switch (3)
case 3:
1, /* note comma! */
case 4:
2;
}
>Fix:
always write correct c-programs! This is better anyway.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-10 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-10 17:10 c/9262: gcc-3.4 segfaults on false case label bangerth
-- strict thread matches above, loose matches on Subject: below --
2003-01-10 16:46 rassahah
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).