public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/32033] New: [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3
@ 2007-05-22 8:54 tbm at cyrius dot com
2007-05-22 10:11 ` [Bug middle-end/32033] " tbm at cyrius dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tbm at cyrius dot com @ 2007-05-22 8:54 UTC (permalink / raw)
To: gcc-bugs
I'm getting the following ICE at -O3 with 4.3. This was introduced between
0070422 and 20070515.
(sid)24742:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O3 crawl-beam.ii
beam.cc: In function 'void explosion(bolt&, bool)':
beam.cc:4055: internal compiler error: in fold_comparison, at fold-const.c:8531
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.3 Regression] ICE in fold_comparison, at fold-
const.c:8531 at -O3
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32033
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/32033] [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3
2007-05-22 8:54 [Bug middle-end/32033] New: [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3 tbm at cyrius dot com
@ 2007-05-22 10:11 ` tbm at cyrius dot com
2007-05-22 12:27 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tbm at cyrius dot com @ 2007-05-22 10:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2007-05-22 11:11 -------
Reduced testcase:
static int spready[] = {
};
void explosion_map (int y)
{
for (int i = 0; i < 4; i++)
if (y * spready[i] < 0)
break;
}
void explosion (void)
{
explosion_map (0);
for (int i = 0; i < 2; i++)
continue;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32033
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/32033] [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3
2007-05-22 8:54 [Bug middle-end/32033] New: [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3 tbm at cyrius dot com
2007-05-22 10:11 ` [Bug middle-end/32033] " tbm at cyrius dot com
@ 2007-05-22 12:27 ` rguenth at gcc dot gnu dot org
2007-05-22 22:09 ` pinskia at gcc dot gnu dot org
2007-05-22 22:11 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-05-22 12:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-05-22 13:26 -------
Confirmed. We enter with the unfolded tree
D.2472_4 * 0 < 0
which is propagated from
D.2473_6 = D.2472_4 * 0
during forwprop. inlining is not properly folding its trees during inlining
of explosion_map (0).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org, hubicka at gcc dot gnu
| |dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-05-22 13:26:45
date| |
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32033
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/32033] [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3
2007-05-22 8:54 [Bug middle-end/32033] New: [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3 tbm at cyrius dot com
2007-05-22 10:11 ` [Bug middle-end/32033] " tbm at cyrius dot com
2007-05-22 12:27 ` rguenth at gcc dot gnu dot org
@ 2007-05-22 22:09 ` pinskia at gcc dot gnu dot org
2007-05-22 22:11 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-22 22:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-22 23:08 -------
I know what this issue is. This is most likely the same issue as PR 30564,
which I need to get around to fixing still.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |30564
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32033
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/32033] [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3
2007-05-22 8:54 [Bug middle-end/32033] New: [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3 tbm at cyrius dot com
` (2 preceding siblings ...)
2007-05-22 22:09 ` pinskia at gcc dot gnu dot org
@ 2007-05-22 22:11 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-22 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-05-22 23:10 -------
And it is the same as my patch fixes the problem also so closing as a dup.
*** This bug has been marked as a duplicate of 30564 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32033
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-22 22:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22 8:54 [Bug middle-end/32033] New: [4.3 Regression] ICE in fold_comparison, at fold-const.c:8531 at -O3 tbm at cyrius dot com
2007-05-22 10:11 ` [Bug middle-end/32033] " tbm at cyrius dot com
2007-05-22 12:27 ` rguenth at gcc dot gnu dot org
2007-05-22 22:09 ` pinskia at gcc dot gnu dot org
2007-05-22 22:11 ` pinskia 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).