* [Bug c/17428] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
@ 2004-09-12 3:45 ` opticcow at linux-militia dot net
2004-09-12 3:54 ` pinskia at gcc dot gnu dot org
` (22 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: opticcow at linux-militia dot net @ 2004-09-12 3:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From opticcow at linux-militia dot net 2004-09-12 03:45 -------
I should also note that it works with CFLAGS as -O2, but fails with -O2
-march=pentium4, so it looks like -march=pentium4 is the culprit..
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug c/17428] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
2004-09-12 3:45 ` [Bug c/17428] " opticcow at linux-militia dot net
@ 2004-09-12 3:54 ` pinskia at gcc dot gnu dot org
2004-09-12 3:54 ` pinskia at gcc dot gnu dot org
` (21 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12 3:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-12 03:54 -------
*** Bug 17430 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug c/17428] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
2004-09-12 3:45 ` [Bug c/17428] " opticcow at linux-militia dot net
2004-09-12 3:54 ` pinskia at gcc dot gnu dot org
@ 2004-09-12 3:54 ` pinskia at gcc dot gnu dot org
2004-09-12 3:56 ` [Bug rtl-optimization/17428] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (20 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12 3:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-12 03:54 -------
*** Bug 17429 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (2 preceding siblings ...)
2004-09-12 3:54 ` pinskia at gcc dot gnu dot org
@ 2004-09-12 3:56 ` pinskia at gcc dot gnu dot org
2004-09-14 2:13 ` [Bug target/17428] " reichelt at gcc dot gnu dot org
` (19 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12 3:56 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |rtl-optimization
Keywords| |build, ice-on-valid-code
Summary|internal compiler error: in |[4.0 Regression] internal
|spill_failure, at |compiler error: in
|reload1.c:1880 |spill_failure, at
| |reload1.c:1880
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug target/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (3 preceding siblings ...)
2004-09-12 3:56 ` [Bug rtl-optimization/17428] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-14 2:13 ` reichelt at gcc dot gnu dot org
2004-09-14 2:32 ` pinskia at gcc dot gnu dot org
` (18 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-09-14 2:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-09-14 02:13 -------
Here's a reduced testcase.
It crashes when compiled with "gcc -msse -O2 -fprofile-generate"
======================================
int a[2];
static void foo(int i, int j)
{
while (1) ;
}
void bar()
{
int i;
for (i=0; i<2; ++i)
foo(a[i],0);
foo(0,0);
}
======================================
Phil's regression hunter states:
: Search converges between 2004-09-05-trunk (#534) and 2004-09-06-trunk (#535).
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|rtl-optimization |target
Ever Confirmed| |1
Keywords| |monitored
Known to work| |3.4.2
Last reconfirmed|0000-00-00 00:00:00 |2004-09-14 02:13:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug target/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (4 preceding siblings ...)
2004-09-14 2:13 ` [Bug target/17428] " reichelt at gcc dot gnu dot org
@ 2004-09-14 2:32 ` pinskia at gcc dot gnu dot org
2004-09-14 21:09 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
` (17 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-14 2:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-14 02:32 -------
I would assume that this is caused by:
2004-09-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* tree-ssa-loop-ivopts.c: New file.
....
But then again this most likely can be produced ealier than that or maybe not.
One thing I noticed though is that "&a[0] + 8B" not folded to &a[2] which might improve the issue.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at atrey dot karlin
| |dot mff dot cuni dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug target/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (5 preceding siblings ...)
2004-09-14 2:32 ` pinskia at gcc dot gnu dot org
@ 2004-09-14 21:09 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-09-21 11:49 ` rakdver at gcc dot gnu dot org
` (16 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: rakdver at atrey dot karlin dot mff dot cuni dot cz @ 2004-09-14 21:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2004-09-14 21:09 -------
Subject: Re: [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
Hello,
> I would assume that this is caused by:
> 2004-09-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
>
> * tree-ssa-loop-ivopts.c: New file.
> ....
>
> But then again this most likely can be produced ealier than that or maybe not.
>
> One thing I noticed though is that "&a[0] + 8B" not folded to &a[2]
> which might improve the issue.
I doubt this is the case; both &a[2] and "&a[0] + 8B" should produce
identical rtl (and anyway, there is nothing wrong with &a[0] + 8B,
so I guess the problem must be elsewhere).
I will check tomorrow.
Zdenek
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug target/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (6 preceding siblings ...)
2004-09-14 21:09 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
@ 2004-09-21 11:49 ` rakdver at gcc dot gnu dot org
2004-09-21 12:59 ` [Bug rtl-optimization/17428] " pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-09-21 11:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-09-21 11:49 -------
This is caused by speculative prefetching. The problem is in code like this:
(insn 14 12 15 1 (set (reg:SI 1 dx)
(const_int 0 [0x0])) -1 (nil)
(nil))
(insn 15 14 16 1 (set (reg:SI 0 ax)
(mem/s:SI (reg/f:SI 62 [ ivtmp.5 ]) [2 a S4 A8])) -1 (nil)
(nil))
(call_insn 16 15 17 1 (call (mem:QI (symbol_ref:SI ("foo") [flags 0x3]
<function_decl 0x40206ae0 foo>) [0 S1 A8])
(const_int 0 [0x0])) -1 (nil)
(expr_list:REG_EH_REGION (const_int 0 [0x0])
(nil))
(expr_list (use (reg:SI 0 ax))
(expr_list (use (reg:SI 1 dx))
(nil))))
Now we issue a profiling code for mem in insn 15. This causes life range
of dx to be prolonged, and ICE follows.
safe_insert_insn_on_edge needs to be extended to handle this, somehow.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (7 preceding siblings ...)
2004-09-21 11:49 ` rakdver at gcc dot gnu dot org
@ 2004-09-21 12:59 ` pinskia at gcc dot gnu dot org
2004-09-21 20:38 ` rakdver at gcc dot gnu dot org
` (14 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 12:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 12:59 -------
This is related to PR 17491 then.
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |17491
nThis| |
Component|target |rtl-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (8 preceding siblings ...)
2004-09-21 12:59 ` [Bug rtl-optimization/17428] " pinskia at gcc dot gnu dot org
@ 2004-09-21 20:38 ` rakdver at gcc dot gnu dot org
2004-09-25 23:32 ` opticcow at linux-militia dot net
` (13 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-09-21 20:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-09-21 20:38 -------
Patch:
http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02116.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (9 preceding siblings ...)
2004-09-21 20:38 ` rakdver at gcc dot gnu dot org
@ 2004-09-25 23:32 ` opticcow at linux-militia dot net
2004-10-16 13:29 ` reichelt at gcc dot gnu dot org
` (12 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: opticcow at linux-militia dot net @ 2004-09-25 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From opticcow at linux-militia dot net 2004-09-25 23:32 -------
Patch fixes it, not yet submitted to cvs however.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (10 preceding siblings ...)
2004-09-25 23:32 ` opticcow at linux-militia dot net
@ 2004-10-16 13:29 ` reichelt at gcc dot gnu dot org
2004-10-28 9:28 ` reichelt at gcc dot gnu dot org
` (11 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-16 13:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-16 13:29 -------
Speculative prefetching is now disabled by default on mainline by
David Edelsohn's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg00928.html
Therefore, one has to add -fspeculative-prefetching to the command line
to trigger the bug on mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (11 preceding siblings ...)
2004-10-16 13:29 ` reichelt at gcc dot gnu dot org
@ 2004-10-28 9:28 ` reichelt at gcc dot gnu dot org
2004-10-28 11:42 ` reichelt at gcc dot gnu dot org
` (10 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-28 9:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-28 09:28 -------
Because of the patch http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01513.html
that adds "-funroll-loops" to "-fprofile-generate" the testcase from
comment #4 has to be compiled with
"-msse -O2 -fspeculative-prefetching -fprofile-generate -fno-unroll-loops"
to still trigger the bug. Alternatively one can increase the number of
iterations of the loop from 2 to 20.
The bug finally disappeared with Zdenek's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01561.html
which seems to address Andrew's suggestion from comment #5.
Zdenek, is this a real fix or is this just papering over the problem?
I.e. is your patch from comment #9 still needed or not?
Alas, the original testcase still segfaults with mainline. Here's a testcase:
==============================================================
int foo(int, int) __attribute__((pure));
void bar()
{
int i;
if (foo(0,0))
for (i = 0; i < 2; i++)
;
}
==============================================================
Compile with "-O -march=pentium4 -fprofile-generate -fspeculative-prefetching
-funroll-loops"
to trigger the bug.
Phils's regression tester about this bug:
: Search converges between 2004-10-01-014001-trunk (#570) and
2004-10-01-161002-trunk (#571).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (12 preceding siblings ...)
2004-10-28 9:28 ` reichelt at gcc dot gnu dot org
@ 2004-10-28 11:42 ` reichelt at gcc dot gnu dot org
2004-10-28 13:19 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
` (9 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-28 11:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-28 11:42 -------
Zdenek, the failure in comment #12 appears with your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg00030.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (13 preceding siblings ...)
2004-10-28 11:42 ` reichelt at gcc dot gnu dot org
@ 2004-10-28 13:19 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-11-04 7:06 ` rakdver at gcc dot gnu dot org
` (8 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: rakdver at atrey dot karlin dot mff dot cuni dot cz @ 2004-10-28 13:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2004-10-28 13:18 -------
Subject: Re: [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
Hello,
> Because of the patch http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01513.html
> that adds "-funroll-loops" to "-fprofile-generate" the testcase from
> comment #4 has to be compiled with
> "-msse -O2 -fspeculative-prefetching -fprofile-generate -fno-unroll-loops"
> to still trigger the bug. Alternatively one can increase the number of
> iterations of the loop from 2 to 20.
>
> The bug finally disappeared with Zdenek's patch
> http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01561.html
> which seems to address Andrew's suggestion from comment #5.
>
> Zdenek, is this a real fix or is this just papering over the problem?
no, that patch cannot fix the problem; so it is just masked, and ...
> I.e. is your patch from comment #9 still needed or not?
... this patch is still needed.
Zdenek
>
> Alas, the original testcase still segfaults with mainline. Here's a testcase:
>
> ==============================================================
> int foo(int, int) __attribute__((pure));
>
> void bar()
> {
> int i;
>
> if (foo(0,0))
> for (i = 0; i < 2; i++)
> ;
> }
> ==============================================================
>
> Compile with "-O -march=pentium4 -fprofile-generate -fspeculative-prefetching
> -funroll-loops"
> to trigger the bug.
>
> Phils's regression tester about this bug:
> : Search converges between 2004-10-01-014001-trunk (#570) and
> 2004-10-01-161002-trunk (#571).
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (14 preceding siblings ...)
2004-10-28 13:19 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
@ 2004-11-04 7:06 ` rakdver at gcc dot gnu dot org
2004-11-27 0:25 ` [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching) pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-11-04 7:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-11-04 07:06 -------
Patch for the other problem:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00260.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (15 preceding siblings ...)
2004-11-04 7:06 ` rakdver at gcc dot gnu dot org
@ 2004-11-27 0:25 ` pinskia at gcc dot gnu dot org
2005-02-14 16:03 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-27 0:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-27 00:25 -------
Even though this huge failure, it is no longer a regression as -fspeculative-prefetching is not enabled
wth -fprofile-generate/use but it still needs to be fixed but not necessarly for 4.0.0. Really someone
should just approve Zdenek's fix for this.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Summary|[4.0 Regression] internal |internal compiler error: in
|compiler error: in |spill_failure, at
|spill_failure, at |reload1.c:1880 (-
|reload1.c:1880 |fspeculative-prefetching)
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (16 preceding siblings ...)
2004-11-27 0:25 ` [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching) pinskia at gcc dot gnu dot org
@ 2005-02-14 16:03 ` cvs-commit at gcc dot gnu dot org
2005-02-15 20:53 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-14 16:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-14 11:38 -------
Subject: Bug 17428
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rakdver@gcc.gnu.org 2005-02-14 11:37:53
Modified files:
gcc : ChangeLog value-prof.c cfgrtl.c
Log message:
PR target/17428
* cfgrtl.c (safe_insert_insn_on_edge): Avoid extending life range of hard
registers.
* value-prof.c (insn_prefetch_values_to_profile): Only scan normal insns.
* value-prof.c (rtl_find_values_to_profile): Do not look for values to
profile in libcalls.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7467&r2=2.7468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/value-prof.c.diff?cvsroot=gcc&r1=1.16&r2=1.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgrtl.c.diff?cvsroot=gcc&r1=1.157&r2=1.158
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (17 preceding siblings ...)
2005-02-14 16:03 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-15 20:53 ` reichelt at gcc dot gnu dot org
2005-04-11 9:47 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-15 20:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-02-15 12:56 -------
Zdenek, are you going to add a testcase for the problem on mainline?
Is this a latent problem on other branches?
If not, can this PR be closed?
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (18 preceding siblings ...)
2005-02-15 20:53 ` reichelt at gcc dot gnu dot org
@ 2005-04-11 9:47 ` reichelt at gcc dot gnu dot org
2005-04-11 10:33 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-04-11 9:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-11 09:47 -------
Zdenek,
the ICE with the testcase from comment #12 reappeared on mainline.
Could you please have a look?
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (19 preceding siblings ...)
2005-04-11 9:47 ` reichelt at gcc dot gnu dot org
@ 2005-04-11 10:33 ` reichelt at gcc dot gnu dot org
2005-04-11 10:41 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
` (2 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-04-11 10:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-11 10:32 -------
The new failure (which is a segfault, btw) was caused by
http://gcc.gnu.org/ml/gcc-cvs/2005-03/msg01363.html
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (20 preceding siblings ...)
2005-04-11 10:33 ` reichelt at gcc dot gnu dot org
@ 2005-04-11 10:41 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2005-06-02 16:08 ` reichelt at gcc dot gnu dot org
2005-07-29 9:41 ` reichelt at gcc dot gnu dot org
23 siblings, 0 replies; 25+ messages in thread
From: rakdver at atrey dot karlin dot mff dot cuni dot cz @ 2005-04-11 10:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2005-04-11 10:41 -------
Subject: Re: internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
Hello,
> the ICE with the testcase from comment #12 reappeared on mainline.
> Could you please have a look?
it is because the patch you identified
(http://gcc.gnu.org/ml/gcc-cvs/2005-03/msg01363.html) reverted the
patch that fixed the problem
(http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/value-prof.c.diff?cvsroot=gcc&r1=1.16&r2=1.17).
Honza, could you please fix that?
Zdenek
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (21 preceding siblings ...)
2005-04-11 10:41 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
@ 2005-06-02 16:08 ` reichelt at gcc dot gnu dot org
2005-07-29 9:41 ` reichelt at gcc dot gnu dot org
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-02 16:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-02 16:08 -------
Any news on this one, Honza?
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rakdver at gcc dot gnu dot |hubicka at gcc dot gnu dot
|org |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
2004-09-12 3:41 [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
` (22 preceding siblings ...)
2005-06-02 16:08 ` reichelt at gcc dot gnu dot org
@ 2005-07-29 9:41 ` reichelt at gcc dot gnu dot org
23 siblings, 0 replies; 25+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-29 9:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-29 09:41 -------
The testcases from comment #4 and comment #12 were fixed on the 4.0 branch.
The problem persisted on mainline where -fspeculative-prefetching had
to be added. Since -fspeculative-prefetching was removed yesterday
(see http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg01035.html )
the bug cannot be triggered on mainline anymore.
So closing as fixed.
Btw, the original testcase cannot be accessed anymore, so the testcases
from comment #4 and #12 are all we've got.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
^ permalink raw reply [flat|nested] 25+ messages in thread