public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p
@ 2005-11-22 1:09 kkojima at gcc dot gnu dot org
2005-11-22 1:12 ` [Bug target/24982] " kkojima at gcc dot gnu dot org
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2005-11-22 1:09 UTC (permalink / raw)
To: gcc-bugs
The mainline and 4.1 fails to bootstrap on sh4-unknown-linux-gnu with
stage1/xgcc -Bstage1/ -B/usr/gnu/sh4-unknown-linux-gnu/bin/ -c -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition
-Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../LOCAL/trunk/gcc -I../../LOCAL/trunk/gcc/.
-I../../LOCAL/trunk/gcc/../include -I../../LOCAL/trunk/gcc/../libcpp/include
../../LOCAL/trunk/gcc/fold-const.c -o fold-const.o
../../LOCAL/trunk/gcc/fold-const.c: In function 'fold_binary':
../../LOCAL/trunk/gcc/fold-const.c:9884: internal compiler error: in
refers_to_regno_for_reload_p, at reload.c:6281
Binary search shows that it starts to fail after the patch
r107093 | rth | 2005-11-17 02:23:23 +0900 (Thu, 17 Nov 2005) | 13 lines
is applied.
--
Summary: Bootstrap failure with ICE in
refers_to_regno_for_reload_p
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-checking
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: sh4-*-linux-gnu
GCC host triplet: sh4-*-linux-gnu
GCC target triplet: sh4-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/24982] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
@ 2005-11-22 1:12 ` kkojima at gcc dot gnu dot org
2005-11-22 1:17 ` kkojima at gcc dot gnu dot org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2005-11-22 1:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from kkojima at gcc dot gnu dot org 2005-11-22 01:12 -------
Created an attachment (id=10317)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10317&action=view)
A reduced testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/24982] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
2005-11-22 1:12 ` [Bug target/24982] " kkojima at gcc dot gnu dot org
@ 2005-11-22 1:17 ` kkojima at gcc dot gnu dot org
2005-11-23 0:29 ` [Bug target/24982] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2005-11-22 1:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from kkojima at gcc dot gnu dot org 2005-11-22 01:17 -------
4.1 and 4.2 fail to compile gcc.c-torture/execute/20040709-[12].c at
-O3 -m4 -ml for sh-elf with the same ICE
internal compiler error: in refers_to_regno_for_reload_p, at reload.c:6281
after the same patch applied.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
2005-11-22 1:12 ` [Bug target/24982] " kkojima at gcc dot gnu dot org
2005-11-22 1:17 ` kkojima at gcc dot gnu dot org
@ 2005-11-23 0:29 ` pinskia at gcc dot gnu dot org
2005-11-23 3:59 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-23 0:29 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Bootstrap failure with ICE |[4.1/4.2 Regression]
|in |Bootstrap failure with ICE
|refers_to_regno_for_reload_p|in
| |refers_to_regno_for_reload_p
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-11-23 0:29 ` [Bug target/24982] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2005-11-23 3:59 ` pinskia at gcc dot gnu dot org
2005-11-23 4:55 ` kkojima at gcc dot gnu dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-23 3:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-23 03:59 -------
This looks related to PR 24995 which is the same ICE on the primary/secondary
target.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |24995
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-11-23 3:59 ` pinskia at gcc dot gnu dot org
@ 2005-11-23 4:55 ` kkojima at gcc dot gnu dot org
2005-11-24 10:20 ` uros at kss-loka dot si
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2005-11-23 4:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from kkojima at gcc dot gnu dot org 2005-11-23 04:55 -------
I've proposed a patch to this PR in
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01648.html
Does it solve PR 24995?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-11-23 4:55 ` kkojima at gcc dot gnu dot org
@ 2005-11-24 10:20 ` uros at kss-loka dot si
2005-11-24 10:24 ` [Bug rtl-optimization/24982] " uros at kss-loka dot si
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: uros at kss-loka dot si @ 2005-11-24 10:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from uros at kss-loka dot si 2005-11-24 10:19 -------
*** Bug 24995 has been marked as a duplicate of this bug. ***
--
uros at kss-loka dot si changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Bug 24982 depends on bug 24995, which changed state.
Bug 24995 Summary: [4.1/4.2 Regression] gcc.dg/vect/vect-10.c fails for -march=athlon
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24995
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-11-24 10:20 ` uros at kss-loka dot si
@ 2005-11-24 10:24 ` uros at kss-loka dot si
2005-11-24 12:56 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: uros at kss-loka dot si @ 2005-11-24 10:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from uros at kss-loka dot si 2005-11-24 10:24 -------
(In reply to comment #4)
> I've proposed a patch to this PR in
>
> http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01648.html
>
> Does it solve PR 24995?
Yes, both i86_64 and -march=athlon failures.
--
uros at kss-loka dot si changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
BugsThisDependsOn|24995 |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |11/msg01648.html
Status|UNCONFIRMED |NEW
Component|target |rtl-optimization
Ever Confirmed|0 |1
GCC host triplet|sh4-*-linux-gnu |
GCC target triplet|sh4-*-linux-gnu |
Keywords| |patch
Last reconfirmed|0000-00-00 00:00:00 |2005-11-24 10:24:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-11-24 10:24 ` [Bug rtl-optimization/24982] " uros at kss-loka dot si
@ 2005-11-24 12:56 ` rguenth at gcc dot gnu dot org
2005-11-24 13:25 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-24 12:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2005-11-24 12:56 -------
We see a _lot_ of ICEs like this on i686 package builds of f.i. xgl, MPlayer,
openafs...
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-11-24 12:56 ` rguenth at gcc dot gnu dot org
@ 2005-11-24 13:25 ` rguenth at gcc dot gnu dot org
2005-11-24 14:40 ` uros at kss-loka dot si
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-24 13:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2005-11-24 13:25 -------
The patch seems to fix the failures.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-11-24 13:25 ` rguenth at gcc dot gnu dot org
@ 2005-11-24 14:40 ` uros at kss-loka dot si
2005-12-10 4:58 ` kargl at gcc dot gnu dot org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: uros at kss-loka dot si @ 2005-11-24 14:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from uros at kss-loka dot si 2005-11-24 14:40 -------
Critical, according to comment #7 and #8.
--
uros at kss-loka dot si changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at kss-loka dot si
Severity|normal |critical
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-11-24 14:40 ` uros at kss-loka dot si
@ 2005-12-10 4:58 ` kargl at gcc dot gnu dot org
2005-12-13 15:10 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-12-10 4:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from kargl at gcc dot gnu dot org 2005-12-10 04:58 -------
The patch from comment #6 no longer applies. It appears that this ChangeLog
2005-12-07 J"orn Rennecke <joern.rennecke@st.com>
* reload.h (reg_equiv_invariant): Declare.
* reload.c (refers_to_regno_for_reload_p): Allow R to be a pseudo
register also when reg_equiv_invariant[R] is set.
has included some, but not all of the comment #6 patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-12-10 4:58 ` kargl at gcc dot gnu dot org
@ 2005-12-13 15:10 ` pinskia at gcc dot gnu dot org
2005-12-14 19:57 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-13 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2005-12-13 15:10 -------
*** Bug 25393 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |klaue at dresearch dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (11 preceding siblings ...)
2005-12-13 15:10 ` pinskia at gcc dot gnu dot org
@ 2005-12-14 19:57 ` pinskia at gcc dot gnu dot org
2005-12-20 1:45 ` kkojima at gcc dot gnu dot org
2005-12-20 11:55 ` jakub at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from pinskia at gcc dot gnu dot org 2005-12-14 19:56 -------
*** Bug 25420 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (12 preceding siblings ...)
2005-12-14 19:57 ` pinskia at gcc dot gnu dot org
@ 2005-12-20 1:45 ` kkojima at gcc dot gnu dot org
2005-12-20 11:55 ` jakub at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2005-12-20 1:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from kkojima at gcc dot gnu dot org 2005-12-20 01:45 -------
Subject: Bug 24982
Author: kkojima
Date: Tue Dec 20 01:45:27 2005
New Revision: 108831
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108831
Log:
PR rtl-optimization/24982
* reload.c (refers_to_regno_for_reload_p): Take
reg_equiv_invariant and reg_equiv_init into account.
* reload.h (reg_equiv_invariant): Declare.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/reload.c
branches/gcc-4_1-branch/gcc/reload.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/24982] [4.1/4.2 Regression] Bootstrap failure with ICE in refers_to_regno_for_reload_p
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
` (13 preceding siblings ...)
2005-12-20 1:45 ` kkojima at gcc dot gnu dot org
@ 2005-12-20 11:55 ` jakub at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-12-20 11:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jakub at gcc dot gnu dot org 2005-12-20 11:55 -------
This has been fixed on the trunk earlier with Joern's patch and now on
gcc-4_1-branch as well.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24982
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2005-12-20 11:55 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-22 1:09 [Bug target/24982] New: Bootstrap failure with ICE in refers_to_regno_for_reload_p kkojima at gcc dot gnu dot org
2005-11-22 1:12 ` [Bug target/24982] " kkojima at gcc dot gnu dot org
2005-11-22 1:17 ` kkojima at gcc dot gnu dot org
2005-11-23 0:29 ` [Bug target/24982] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2005-11-23 3:59 ` pinskia at gcc dot gnu dot org
2005-11-23 4:55 ` kkojima at gcc dot gnu dot org
2005-11-24 10:20 ` uros at kss-loka dot si
2005-11-24 10:24 ` [Bug rtl-optimization/24982] " uros at kss-loka dot si
2005-11-24 12:56 ` rguenth at gcc dot gnu dot org
2005-11-24 13:25 ` rguenth at gcc dot gnu dot org
2005-11-24 14:40 ` uros at kss-loka dot si
2005-12-10 4:58 ` kargl at gcc dot gnu dot org
2005-12-13 15:10 ` pinskia at gcc dot gnu dot org
2005-12-14 19:57 ` pinskia at gcc dot gnu dot org
2005-12-20 1:45 ` kkojima at gcc dot gnu dot org
2005-12-20 11:55 ` jakub 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).