public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall
@ 2008-03-28 18:23 reichelt at gcc dot gnu dot org
2008-03-28 18:23 ` [Bug c/35736] " reichelt at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-28 18:23 UTC (permalink / raw)
To: gcc-bugs
The following valid code snippet triggers an ICE on mainline
when compiled with "-Wall":
=========================================
void foo()
{
while (1)
for (;;({ continue; }))
;
}
=========================================
bug.c: In function 'foo':
bug.c:4: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
The bug appeared between 2008-03-15 and 2008-03-20.
The C++ frontend is not affected.
--
Summary: [4.4 regression] ICE with continue and -Wall
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
@ 2008-03-28 18:23 ` reichelt at gcc dot gnu dot org
2008-03-30 0:57 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-28 18:23 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
2008-03-28 18:23 ` [Bug c/35736] " reichelt at gcc dot gnu dot org
@ 2008-03-30 0:57 ` pinskia at gcc dot gnu dot org
2008-04-20 20:42 ` [Bug middle-end/35736] " rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-30 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-30 00:57 -------
This is a predict_expr tree. Shouldn't TREE_SIDE_EFFECTS be set on that
expression?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-03-30 00:57:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
2008-03-28 18:23 ` [Bug c/35736] " reichelt at gcc dot gnu dot org
2008-03-30 0:57 ` pinskia at gcc dot gnu dot org
@ 2008-04-20 20:42 ` rguenth at gcc dot gnu dot org
2008-05-05 5:50 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-20 20:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-20 20:41 -------
Honza?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Component|c |middle-end
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-04-20 20:42 ` [Bug middle-end/35736] " rguenth at gcc dot gnu dot org
@ 2008-05-05 5:50 ` pinskia at gcc dot gnu dot org
2008-07-03 16:23 ` meissner at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-05 5:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-05-05 05:49 -------
*** Bug 35893 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-05-05 5:50 ` pinskia at gcc dot gnu dot org
@ 2008-07-03 16:23 ` meissner at gcc dot gnu dot org
2008-07-03 16:28 ` meissner at gcc dot gnu dot org
2008-07-15 4:16 ` reichelt at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: meissner at gcc dot gnu dot org @ 2008-07-03 16:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from meissner at gcc dot gnu dot org 2008-07-03 16:23 -------
Subject: Bug 35736
Author: meissner
Date: Thu Jul 3 16:22:12 2008
New Revision: 137425
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137425
Log:
PR 35736 -- use void_type_node for PREDICT_EXPR tree
Added:
trunk/gcc/testsuite/gcc.dg/pr35736.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/predict.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-07-03 16:23 ` meissner at gcc dot gnu dot org
@ 2008-07-03 16:28 ` meissner at gcc dot gnu dot org
2008-07-15 4:16 ` reichelt at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: meissner at gcc dot gnu dot org @ 2008-07-03 16:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from meissner at gcc dot gnu dot org 2008-07-03 16:28 -------
Created an attachment (id=15849)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15849&action=view)
Patch to fix 35736
Committed in revision 137425 of the mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/35736] [4.4 regression] ICE with continue and -Wall
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-07-03 16:28 ` meissner at gcc dot gnu dot org
@ 2008-07-15 4:16 ` reichelt at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-07-15 4:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from reichelt at gcc dot gnu dot org 2008-07-15 04:15 -------
Fixed.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-07-15 4:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 18:23 [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall reichelt at gcc dot gnu dot org
2008-03-28 18:23 ` [Bug c/35736] " reichelt at gcc dot gnu dot org
2008-03-30 0:57 ` pinskia at gcc dot gnu dot org
2008-04-20 20:42 ` [Bug middle-end/35736] " rguenth at gcc dot gnu dot org
2008-05-05 5:50 ` pinskia at gcc dot gnu dot org
2008-07-03 16:23 ` meissner at gcc dot gnu dot org
2008-07-03 16:28 ` meissner at gcc dot gnu dot org
2008-07-15 4:16 ` 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).