* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
@ 2006-07-02 11:13 ` tbm at cyrius dot com
2006-07-02 16:21 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-07-02 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2006-07-02 11:13 -------
Created an attachment (id=11798)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11798&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
2006-07-02 11:13 ` [Bug rtl-optimization/28221] " tbm at cyrius dot com
@ 2006-07-02 16:21 ` pinskia at gcc dot gnu dot org
2006-07-05 13:37 ` rguenth at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-02 16:21 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
2006-07-02 11:13 ` [Bug rtl-optimization/28221] " tbm at cyrius dot com
2006-07-02 16:21 ` pinskia at gcc dot gnu dot org
@ 2006-07-05 13:37 ` rguenth at gcc dot gnu dot org
2006-07-06 10:01 ` rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-05 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-07-05 13:36 -------
With checking enabled we have
obj2/gcc> ./cc1plus -quiet -O2 t.ii
t.ii: In static member function 'static IntType
boost::random::const_mod<IntType, m>::mult_schrage(IntType, IntType) [with
IntType = int, IntType m = 2147483647]':
t.ii:7335: error: too many outgoing branch edges from bb 3
t.ii:7335: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
maybe related to PR27291.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (2 preceding siblings ...)
2006-07-05 13:37 ` rguenth at gcc dot gnu dot org
@ 2006-07-06 10:01 ` rguenth at gcc dot gnu dot org
2006-07-06 10:02 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-06 10:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-07-06 10:01 -------
Created an attachment (id=11843)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11843&action=view)
testcase
reduced C++ testcase attached. C testcase:
void foo(void)
{
int value47D2367, valueD2287;
unsigned int jD2283;
value47D2367 = x->x;
jD2283 = 0;
L0:
if (value47D2367 > 0) goto L3; else goto L17;
L17:
valueD2287 = value47D2367;
L2:
valueD2287 = valueD2287 + 2147483647;
if (valueD2287 > 0) goto L3; else goto L2;
L3:
jD2283 = jD2283 + 1;
if (jD2283 != 607) goto L0; else goto L6;
L6:
return;
}
gcc> ./cc1 -O2 -quiet t.i
t.i: In function 'foo':
t.i:26: error: NOTE_INSN_BASIC_BLOCK is missing for block 8
t.i:26: error: NOTE_INSN_BASIC_BLOCK 92 in middle of basic block 8
t.i:26: error: too many outgoing branch edges from bb 2
t.i:26: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (3 preceding siblings ...)
2006-07-06 10:01 ` rguenth at gcc dot gnu dot org
@ 2006-07-06 10:02 ` rguenth at gcc dot gnu dot org
2006-07-06 10:07 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-06 10:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2006-07-06 10:02 -------
So, confirmed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-07-06 10:02:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (4 preceding siblings ...)
2006-07-06 10:02 ` rguenth at gcc dot gnu dot org
@ 2006-07-06 10:07 ` rguenth at gcc dot gnu dot org
2006-07-06 10:10 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-06 10:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2006-07-06 10:07 -------
The reduced testcases are with checking only.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (5 preceding siblings ...)
2006-07-06 10:07 ` rguenth at gcc dot gnu dot org
@ 2006-07-06 10:10 ` rguenth at gcc dot gnu dot org
2006-07-06 10:11 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-06 10:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2006-07-06 10:10 -------
ICE is after rtl loop2 optimizer, looks like it requires a doloop target.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (6 preceding siblings ...)
2006-07-06 10:10 ` rguenth at gcc dot gnu dot org
@ 2006-07-06 10:11 ` rguenth at gcc dot gnu dot org
2006-07-28 21:45 ` sje at cup dot hp dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-06 10:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2006-07-06 10:11 -------
Really looks like a dup of PR27291, but the patch for that doesn't apply to the
4.1 branch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (7 preceding siblings ...)
2006-07-06 10:11 ` rguenth at gcc dot gnu dot org
@ 2006-07-28 21:45 ` sje at cup dot hp dot com
2006-07-29 22:29 ` debian-gcc at lists dot debian dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: sje at cup dot hp dot com @ 2006-07-28 21:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from sje at cup dot hp dot com 2006-07-28 21:45 -------
If we apply the patch from
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg02094.html first then we can apply
the patch for PR 27291. I did this on the 4.1 branch and the bug went away. I
have not done a full bootstrap with the two patches but will do that over the
weekend.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (8 preceding siblings ...)
2006-07-28 21:45 ` sje at cup dot hp dot com
@ 2006-07-29 22:29 ` debian-gcc at lists dot debian dot org
2006-07-31 16:19 ` sje at cup dot hp dot com
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-07-29 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from debian-gcc at lists dot debian dot org 2006-07-29 22:28 -------
Created an attachment (id=11967)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11967&action=view)
patch
combined and bootstrapped with the two patches mentioned in #8 with no
regressions on i486-linux-gnu.
Matthias
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (9 preceding siblings ...)
2006-07-29 22:29 ` debian-gcc at lists dot debian dot org
@ 2006-07-31 16:19 ` sje at cup dot hp dot com
2006-08-03 16:35 ` sje at gcc dot gnu dot org
2006-08-03 16:39 ` sje at cup dot hp dot com
12 siblings, 0 replies; 14+ messages in thread
From: sje at cup dot hp dot com @ 2006-07-31 16:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from sje at cup dot hp dot com 2006-07-31 16:19 -------
My weekend bootstrapping and testing on ia64-hp-hpux11.23 and ia64 Linux on the
4.1 branch showed no regressions. I think I should send email to gcc-patches
before checking it in on the 4.1 branch since the first patch is not
technically a regression fix. Unless someone else wants to handle the checkin
on the 4.1 branch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (10 preceding siblings ...)
2006-07-31 16:19 ` sje at cup dot hp dot com
@ 2006-08-03 16:35 ` sje at gcc dot gnu dot org
2006-08-03 16:39 ` sje at cup dot hp dot com
12 siblings, 0 replies; 14+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-08-03 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from sje at gcc dot gnu dot org 2006-08-03 16:35 -------
Subject: Bug 28221
Author: sje
Date: Thu Aug 3 16:35:31 2006
New Revision: 115904
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115904
Log:
PR rtl-optimization/28221
Backport from mainline.
2005-11-30 Nathan Sidwell <nathan@codesourcery.com>
* loop-doloop.c (add_test): Only add jump note if we did emit a jump.
2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/27291
* loop-doloop.c (add_test, doloop_modify): Handle the case condition
is folded to a constant.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/loop-doloop.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
2006-07-02 11:13 [Bug rtl-optimization/28221] New: [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479 tbm at cyrius dot com
` (11 preceding siblings ...)
2006-08-03 16:35 ` sje at gcc dot gnu dot org
@ 2006-08-03 16:39 ` sje at cup dot hp dot com
12 siblings, 0 replies; 14+ messages in thread
From: sje at cup dot hp dot com @ 2006-08-03 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from sje at cup dot hp dot com 2006-08-03 16:39 -------
Fixed by backporting Nathan's patch and the fix for PR 27291.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221
^ permalink raw reply [flat|nested] 14+ messages in thread