public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11
@ 2005-11-15 22:02 rguenth at gcc dot gnu dot org
2005-11-15 22:03 ` [Bug rtl-optimization/24883] " rguenth at gcc dot gnu dot org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-15 22:02 UTC (permalink / raw)
To: gcc-bugs
/usr/lib/gcc/s390-suse-linux/4.1.0/cc1 -fpreprocessed reo.i -quiet -dumpbase
reo.i -m31 -mesa -march=g5 -ansi -auxbase reo -O2 -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wredundant-decls -Wnested-externs -Wundef -ansi -version -fomit-frame-pointer
-fno-strict-aliasing -o /tmp/ccC1ZDOL.s
reo.c: In function ?orec_alt?:
reo.c:199: fatal error: internal consistency failure
compilation terminated.
--
Summary: [4.1 Regression] fatal error: internal consistency
failure building xorg-x11
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: s390-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
@ 2005-11-15 22:03 ` rguenth at gcc dot gnu dot org
2005-11-16 19:31 ` janis at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-15 22:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2005-11-15 22:03 -------
Created an attachment (id=10245)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10245&action=view)
reduced testcase
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
2005-11-15 22:03 ` [Bug rtl-optimization/24883] " rguenth at gcc dot gnu dot org
@ 2005-11-16 19:31 ` janis at gcc dot gnu dot org
2005-11-17 10:05 ` saurabh dot verma at codito dot com
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-11-16 19:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from janis at gcc dot gnu dot org 2005-11-16 19:31 -------
A regression hunt using an s390-linux cross compiler on powerpc-linux
identified the following patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=103955
r103955 | ian | 2005-09-06 17:51:48 +0000 (Tue, 06 Sep 2005) | 3 lines
* simplify-rtx.c (simplify_binary_operation_1): Correct the
condition for detecting cases like (a&a) and (a^a).
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
2005-11-15 22:03 ` [Bug rtl-optimization/24883] " rguenth at gcc dot gnu dot org
2005-11-16 19:31 ` janis at gcc dot gnu dot org
@ 2005-11-17 10:05 ` saurabh dot verma at codito dot com
2005-11-17 12:45 ` uweigand at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: saurabh dot verma at codito dot com @ 2005-11-17 10:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from saurabh dot verma at codito dot com 2005-11-17 10:05 -------
Adding myself to CC list, as the offending patch was given by me
--
saurabh dot verma at codito dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |saurabh dot verma at codito
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-11-17 10:05 ` saurabh dot verma at codito dot com
@ 2005-11-17 12:45 ` uweigand at gcc dot gnu dot org
2005-11-18 20:13 ` ian at airs dot com
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-17 12:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from uweigand at gcc dot gnu dot org 2005-11-17 12:45 -------
It looks like the simplify-rtx patch is not really the cause of the problem,
it simply exposes a pre-existing bug in combine and/or flow.
Before combine, we have a situation that looks like (simplified):
insn 82: reg46 = reg49 ^ reg50 (REG_DEAD reg49)
insn 87: reg50 = reg46 ^ reg50 (REG_READ reg46)
Note that reg 50 is live both at the start and the end of the current
basic block.
Now, due to the improved XOR optimization in simplify-rtx, combine
recognized these insn can be combined into:
insn 87: reg50 = reg49 (REG_READ reg49)
And suddenly reg50 is no longer live at the start of this basic block.
Unfortunately, there appears to be no code in combine that recognizes
this fact and schedules the basic block for updating of global life
info. (The only cases where that happens are related to moving REG_DEAD
notes, but in this situation we don't *have* a REG_DEAD note for reg50
in the first place.)
Thus, reg50 remains marked live-at-start in this basic block, and when
a later pass does a local live info update on the block, the sanity
check in verify_local_life_at_start triggers.
Right now I don't know how and where to fix this.
--
uweigand 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 |2005-11-17 12:45:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-11-17 12:45 ` uweigand at gcc dot gnu dot org
@ 2005-11-18 20:13 ` ian at airs dot com
2005-11-18 20:15 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ian at airs dot com @ 2005-11-18 20:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ian at airs dot com 2005-11-18 20:13 -------
Created an attachment (id=10277)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10277&action=view)
Patch
This patch appears to fix the problem.
However, I am about to leave for the weekend, and won't be back until Monday.
Given that we are about to branch, I would greatly appreciate if somebody else
could run a bootstrap and testsuite run. I will preapprove the patch if those
pass.
(Otherwise I will tackle it on Monday, but it would be nice to get it done
before then. Thanks!)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-11-18 20:13 ` ian at airs dot com
@ 2005-11-18 20:15 ` pinskia at gcc dot gnu dot org
2005-11-18 20:30 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-18 20:15 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-11-18 20:15 ` pinskia at gcc dot gnu dot org
@ 2005-11-18 20:30 ` rguenth at gcc dot gnu dot org
2005-11-19 2:16 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2005-11-18 20:30 -------
I'll do it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-11-18 20:30 ` rguenth at gcc dot gnu dot org
@ 2005-11-19 2:16 ` mmitchel at gcc dot gnu dot org
2005-11-19 10:13 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-11-19 2:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from mmitchel at gcc dot gnu dot org 2005-11-19 02:16 -------
S390 is not release critical.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-11-19 2:16 ` mmitchel at gcc dot gnu dot org
@ 2005-11-19 10:13 ` rguenth at gcc dot gnu dot org
2005-11-21 5:41 ` [Bug rtl-optimization/24883] [4.1/4.2 " ian at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-19 10:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2005-11-19 10:12 -------
Bootstrapped and regtested on s390-linux-gnu for all default languages. We
already branched, so I leave it to you comitting the patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1/4.2 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-11-19 10:13 ` rguenth at gcc dot gnu dot org
@ 2005-11-21 5:41 ` ian at gcc dot gnu dot org
2005-11-21 5:43 ` ian at gcc dot gnu dot org
2005-11-21 5:45 ` ian at airs dot com
11 siblings, 0 replies; 13+ messages in thread
From: ian at gcc dot gnu dot org @ 2005-11-21 5:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ian at gcc dot gnu dot org 2005-11-21 05:41 -------
Subject: Bug 24883
Author: ian
Date: Mon Nov 21 05:41:36 2005
New Revision: 107279
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107279
Log:
./:
PR rtl-optimization/24883
* combine.c (combinable_i3pat): When checking whether the
destination of i3 is used in i3, consider paradoxical subregs.
testsuite/:
PR rtl-optimization/24883
* gcc.c-torture/compile/pr24883.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr24883.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1/4.2 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-11-21 5:41 ` [Bug rtl-optimization/24883] [4.1/4.2 " ian at gcc dot gnu dot org
@ 2005-11-21 5:43 ` ian at gcc dot gnu dot org
2005-11-21 5:45 ` ian at airs dot com
11 siblings, 0 replies; 13+ messages in thread
From: ian at gcc dot gnu dot org @ 2005-11-21 5:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from ian at gcc dot gnu dot org 2005-11-21 05:43 -------
Subject: Bug 24883
Author: ian
Date: Mon Nov 21 05:43:32 2005
New Revision: 107280
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107280
Log:
./:
PR rtl-optimization/24883
* combine.c (combinable_i3pat): When checking whether the
destination of i3 is used in i3, consider paradoxical subregs.
testsuite/:
PR rtl-optimization/24883
* gcc.c-torture/compile/pr24883.c: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr24883.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/combine.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/24883] [4.1/4.2 Regression] fatal error: internal consistency failure building xorg-x11
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-11-21 5:43 ` ian at gcc dot gnu dot org
@ 2005-11-21 5:45 ` ian at airs dot com
11 siblings, 0 replies; 13+ messages in thread
From: ian at airs dot com @ 2005-11-21 5:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from ian at airs dot com 2005-11-21 05:45 -------
Fixed on mainline and 4.1 branch.
--
ian at airs dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24883
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-11-21 5:45 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-15 22:02 [Bug rtl-optimization/24883] New: [4.1 Regression] fatal error: internal consistency failure building xorg-x11 rguenth at gcc dot gnu dot org
2005-11-15 22:03 ` [Bug rtl-optimization/24883] " rguenth at gcc dot gnu dot org
2005-11-16 19:31 ` janis at gcc dot gnu dot org
2005-11-17 10:05 ` saurabh dot verma at codito dot com
2005-11-17 12:45 ` uweigand at gcc dot gnu dot org
2005-11-18 20:13 ` ian at airs dot com
2005-11-18 20:15 ` pinskia at gcc dot gnu dot org
2005-11-18 20:30 ` rguenth at gcc dot gnu dot org
2005-11-19 2:16 ` mmitchel at gcc dot gnu dot org
2005-11-19 10:13 ` rguenth at gcc dot gnu dot org
2005-11-21 5:41 ` [Bug rtl-optimization/24883] [4.1/4.2 " ian at gcc dot gnu dot org
2005-11-21 5:43 ` ian at gcc dot gnu dot org
2005-11-21 5:45 ` ian at airs dot com
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).