public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
@ 2010-05-10 21:18 raj dot khem at gmail dot com
2010-06-07 2:20 ` [Bug target/44067] " amodra at gmail dot com
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: raj dot khem at gmail dot com @ 2010-05-10 21:18 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4438 bytes --]
gcc 4.5.0 fails to build libgcc when configured as follows
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/configure
--build=x86_64-linux --host=x86_64-linux --target=powerpc-oe-linux-gnuspe
--prefix=/scratch/oe/calamari/cross/ppce500v2
--exec_prefix=/scratch/oe/calamari/cross/ppce500v2
--bindir=/scratch/oe/calamari/cross/ppce500v2/bin
--sbindir=/scratch/oe/calamari/cross/ppce500v2/bin
--libexecdir=/scratch/oe/calamari/cross/ppce500v2/libexec
--datadir=/scratch/oe/calamari/cross/ppce500v2/share
--sysconfdir=/scratch/oe/calamari/cross/ppce500v2/etc
--sharedstatedir=/scratch/oe/calamari/cross/ppce500v2/com
--localstatedir=/scratch/oe/calamari/cross/ppce500v2/var
--libdir=/scratch/oe/calamari/cross/ppce500v2/lib
--includedir=/scratch/oe/calamari/cross/ppce500v2/include
--oldincludedir=/scratch/oe/calamari/cross/ppce500v2/include
--infodir=/scratch/oe/calamari/cross/ppce500v2/share/info
--mandir=/scratch/oe/calamari/cross/ppce500v2/share/man
--with-local-prefix=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe/usr
--with-newlib --without-headers --disable-shared --disable-threads
--disable-multilib --disable-__cxa_atexit --enable-languages=c
--program-prefix=powerpc-oe-linux-gnuspe-
--with-sysroot=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe
--with-build-sysroot=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe
--disable-libmudflap --disable-libgomp --disable-libssp
--enable-decimal-float=no --program-prefix=powerpc-oe-linux-gnuspe-
It fails in libgcc
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/build.x86_64-linux.powerpc-oe-linux-gnuspe/./gcc/xgcc
-B/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/build.x86_64-linux.powerpc-oe-linux-gnuspe/./gcc/
-mcpu=8548 -mspe=yes -mabi=spe -mfloat-gprs=double
-isystem/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe/usr/include
-B/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/bin/
-B/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/lib/ -isystem
/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/include -isystem
/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/sys-include
--sysroot=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe
-isystem/scratch/oe/calamari/sysroots/x86_64-linux/usr/include -O2 -g -O2
-isystem/scratch/oe/calamari/sysroots/x86_64-linux/usr/include -O2 -g -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../.././gcc
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/.
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../include
-DHAVE_CC_TLS -o _powidf2.o -MT _powidf2.o -MD -MP -MF _powidf2.dep
-DL_powidf2 -c
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc/libgcc2.c
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc/libgcc2.c:
In function __powidf2:
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc/libgcc2.c:1739:1:
internal compiler error: in rs6000_split_multireg_move, at
config/rs6000/rs6000.c:16713
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
If I remove -mfloat-gprs=double from the commandline then the ICE does not
happen.
--
Summary: internal compiler error: in rs6000_split_multireg_move,
at config/rs6000/rs6000.c:16713
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: raj dot khem at gmail dot com
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: powerpc-oe-linux-gnuspe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
@ 2010-06-07 2:20 ` amodra at gmail dot com
2010-06-07 2:21 ` amodra at gmail dot com
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gmail dot com @ 2010-06-07 2:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from amodra at gmail dot com 2010-06-07 02:19 -------
First testcase in pr44364 tickles this bug on mainline too. Looks like we need
the following.
Index: gcc/config/rs6000/rs6000.c
===================================================================
--- gcc/config/rs6000/rs6000.c (revision 160351)
+++ gcc/config/rs6000/rs6000.c (working copy)
@@ -17013,7 +17013,7 @@ rs6000_split_multireg_move (rtx dst, rtx
((TARGET_HARD_FLOAT && TARGET_DOUBLE_FLOAT) ? DFmode : SFmode);
else if (ALTIVEC_REGNO_P (reg))
reg_mode = V16QImode;
- else if (TARGET_E500_DOUBLE && mode == TFmode)
+ else if (TARGET_E500_DOUBLE && (mode == DFmode || mode == TFmode))
reg_mode = DFmode;
else
reg_mode = word_mode;
--
amodra at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-07 02:20:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
2010-06-07 2:20 ` [Bug target/44067] " amodra at gmail dot com
@ 2010-06-07 2:21 ` amodra at gmail dot com
2010-06-07 4:22 ` gcc at breakpoint dot cc
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gmail dot com @ 2010-06-07 2:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from amodra at gmail dot com 2010-06-07 02:21 -------
*** Bug 44419 has been marked as a duplicate of this bug. ***
--
amodra at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edmar at freescale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
2010-06-07 2:20 ` [Bug target/44067] " amodra at gmail dot com
2010-06-07 2:21 ` amodra at gmail dot com
@ 2010-06-07 4:22 ` gcc at breakpoint dot cc
2010-06-07 6:58 ` amodra at gmail dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: gcc at breakpoint dot cc @ 2010-06-07 4:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from gcc at breakpoint dot cc 2010-06-07 04:21 -------
Thank you Alan.
Trunk and 4.5 branch is affected, the 4.4 branch just built.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (2 preceding siblings ...)
2010-06-07 4:22 ` gcc at breakpoint dot cc
@ 2010-06-07 6:58 ` amodra at gmail dot com
2010-06-07 17:26 ` amodra at gmail dot com
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gmail dot com @ 2010-06-07 6:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from amodra at gmail dot com 2010-06-07 06:57 -------
Actually, that's the wrong patch. The correct one stops
rs6000_split_multireg_move being called in this case, by modifying
define_mode_iterator DIFD in rs6000.md.
--
amodra at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at gmail dot com
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-06-07 02:20:00 |2010-06-07 06:57:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (3 preceding siblings ...)
2010-06-07 6:58 ` amodra at gmail dot com
@ 2010-06-07 17:26 ` amodra at gmail dot com
2010-06-07 20:50 ` bergner at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gmail dot com @ 2010-06-07 17:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from amodra at gmail dot com 2010-06-07 17:25 -------
Created an attachment (id=20859)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20859&action=view)
fix pr42427 fallout
Would someone with e500 hardware please bootstrap and regression test this
patch? I'm running powerpc-linux bootstrap to ensure pr42427 doesn't regress.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (4 preceding siblings ...)
2010-06-07 17:26 ` amodra at gmail dot com
@ 2010-06-07 20:50 ` bergner at gcc dot gnu dot org
2010-06-07 20:55 ` bergner at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bergner at gcc dot gnu dot org @ 2010-06-07 20:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from bergner at gcc dot gnu dot org 2010-06-07 20:50 -------
I believe Edmar already bootstrapped and regtested the same patch.
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00346.html
--
bergner at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bergner at gcc dot gnu dot
| |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2010-
| |06/msg00346.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (5 preceding siblings ...)
2010-06-07 20:50 ` bergner at gcc dot gnu dot org
@ 2010-06-07 20:55 ` bergner at gcc dot gnu dot org
2010-06-07 23:33 ` amodra at gmail dot com
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bergner at gcc dot gnu dot org @ 2010-06-07 20:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from bergner at gcc dot gnu dot org 2010-06-07 20:55 -------
I'll note that the thread I pointed to in the previous comment mentioned that I
thought we should be handling DDmode the same as DFmode (normally we do), but
Joseph's post here:
http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00270.html
shows why we don't want to do that for the e500.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (6 preceding siblings ...)
2010-06-07 20:55 ` bergner at gcc dot gnu dot org
@ 2010-06-07 23:33 ` amodra at gmail dot com
2010-06-09 0:16 ` amodra at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gmail dot com @ 2010-06-07 23:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from amodra at gmail dot com 2010-06-07 23:33 -------
Reassigning since Edmar's identical patch predates mine.
--
amodra at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|amodra at gmail dot com |edmar at freescale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (7 preceding siblings ...)
2010-06-07 23:33 ` amodra at gmail dot com
@ 2010-06-09 0:16 ` amodra at gcc dot gnu dot org
2010-06-09 0:21 ` amodra at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2010-06-09 0:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from amodra at gcc dot gnu dot org 2010-06-09 00:16 -------
Subject: Bug 44067
Author: amodra
Date: Wed Jun 9 00:15:46 2010
New Revision: 160449
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160449
Log:
PR target/44067
* config/rs6000/rs6000.md (DIFD): Do not split dpfp values for
e500v2 target.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (8 preceding siblings ...)
2010-06-09 0:16 ` amodra at gcc dot gnu dot org
@ 2010-06-09 0:21 ` amodra at gcc dot gnu dot org
2010-06-09 0:29 ` amodra at gmail dot com
2010-06-09 14:16 ` bergner at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2010-06-09 0:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from amodra at gcc dot gnu dot org 2010-06-09 00:20 -------
Subject: Bug 44067
Author: amodra
Date: Wed Jun 9 00:20:27 2010
New Revision: 160454
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160454
Log:
PR target/44067
* config/rs6000/rs6000.md (DIFD): Do not split dpfp values for
e500v2 target.
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/rs6000/rs6000.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (9 preceding siblings ...)
2010-06-09 0:21 ` amodra at gcc dot gnu dot org
@ 2010-06-09 0:29 ` amodra at gmail dot com
2010-06-09 14:16 ` bergner at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gmail dot com @ 2010-06-09 0:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from amodra at gmail dot com 2010-06-09 00:29 -------
Fixed
--
amodra at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/44067] internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
` (10 preceding siblings ...)
2010-06-09 0:29 ` amodra at gmail dot com
@ 2010-06-09 14:16 ` bergner at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: bergner at gcc dot gnu dot org @ 2010-06-09 14:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from bergner at gcc dot gnu dot org 2010-06-09 14:15 -------
Subject: Bug 44067
Author: bergner
Date: Wed Jun 9 14:15:11 2010
New Revision: 160479
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160479
Log:
Backport from mainline:
2010-06-09 Edmar Wienskoski <edmar@freescale.com>
PR target/44067
* config/rs6000/rs6000.md (DIFD): Do not split dpfp values for
e500v2 target.
Modified:
branches/ibm/gcc-4_4-branch/gcc/ChangeLog.ibm
branches/ibm/gcc-4_4-branch/gcc/config/rs6000/rs6000.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-06-09 14:16 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-10 21:18 [Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713 raj dot khem at gmail dot com
2010-06-07 2:20 ` [Bug target/44067] " amodra at gmail dot com
2010-06-07 2:21 ` amodra at gmail dot com
2010-06-07 4:22 ` gcc at breakpoint dot cc
2010-06-07 6:58 ` amodra at gmail dot com
2010-06-07 17:26 ` amodra at gmail dot com
2010-06-07 20:50 ` bergner at gcc dot gnu dot org
2010-06-07 20:55 ` bergner at gcc dot gnu dot org
2010-06-07 23:33 ` amodra at gmail dot com
2010-06-09 0:16 ` amodra at gcc dot gnu dot org
2010-06-09 0:21 ` amodra at gcc dot gnu dot org
2010-06-09 0:29 ` amodra at gmail dot com
2010-06-09 14:16 ` bergner 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).