public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
@ 2005-10-10 0:22 ` pinskia at gcc dot gnu dot org
2005-11-28 5:21 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-10 0:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2005-10-10 00:22 -------
*** Bug 24292 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nigelenki at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
2005-10-10 0:22 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
@ 2005-11-28 5:21 ` pinskia at gcc dot gnu dot org
2006-02-24 9:46 ` rmathew at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-28 5:21 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2005-01-11 16:18:25 |2005-11-28 05:21:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
2005-10-10 0:22 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
2005-11-28 5:21 ` pinskia at gcc dot gnu dot org
@ 2006-02-24 9:46 ` rmathew at gcc dot gnu dot org
2006-05-04 17:43 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2006-02-24 9:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from rmathew at gcc dot gnu dot org 2006-02-24 07:51 -------
(In reply to comment #5)
> small testcase:
This particular testcase doesn't fail for me anymore on mainline
as of 2006-02-24. However, QEMU 0.8.0 still doesn't build with
this compiler (you'll have to configure with --disable-gcc-check).
FWIW, I get:
--------------------------- 8< ---------------------------
/home/ranmath/src/gcc/build/gcc/xgcc -B/home/ranmath/src/gcc/build/gcc/ -Wall
-O
2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack-boundary=2
-fal
ign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I.
-I
/home/ranmath/tmp/qemu-0.8.0/target-i386 -I/home/ranmath/tmp/qemu-0.8.0
-I/home/
ranmath/tmp/qemu-0.8.0/linux-user
-I/home/ranmath/tmp/qemu-0.8.0/linux-user/i386
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/ranmath/tmp/qe
mu-0.8.0/fpu -DHAS_AUDIO -I/home/ranmath/tmp/qemu-0.8.0/slirp -c -o op.o
/home/r
anmath/tmp/qemu-0.8.0/target-i386/op.c
/home/ranmath/tmp/qemu-0.8.0/target-i386/ops_sse.h: In function
'op_pshufw_mmx':
/home/ranmath/tmp/qemu-0.8.0/target-i386/ops_sse.h:574: error: unable to find a
register to spill in class 'GENERAL_REGS'
/home/ranmath/tmp/qemu-0.8.0/target-i386/ops_sse.h:574: error: this is the
insn:
(insn:HI 17 16 18 2 /home/ranmath/tmp/qemu-0.8.0/target-i386/ops_sse.h:569 (set
(strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0))
(mem/s/j:HI (plus:SI (mult:SI (reg:SI 64)
(const_int 2 [0x2]))
(reg/v/f:SI 59 [ s ])) [0 <variable>._w S2 A16])) 40
{*movstrict
hi_1} (insn_list:REG_DEP_TRUE 49 (insn_list:REG_DEP_TRUE 12
(insn_list:REG_DEP_T
RUE 16 (nil))))
(expr_list:REG_DEAD (reg:SI 64)
(nil)))
/home/ranmath/tmp/qemu-0.8.0/target-i386/ops_sse.h:574: confused by earlier
erro
rs, bailing out
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/home/ranmath/tmp/qemu-0.8.0/i386-user'
make: *** [all] Error 1
--------------------------- 8< ---------------------------
I am at SVN revision 111414.
--
rmathew at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rmathew at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-02-24 9:46 ` rmathew at gcc dot gnu dot org
@ 2006-05-04 17:43 ` pinskia at gcc dot gnu dot org
2006-06-08 23:25 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-04 17:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-05-04 17:42 -------
*** Bug 27431 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pjb at informatimago dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-05-04 17:43 ` pinskia at gcc dot gnu dot org
@ 2006-06-08 23:25 ` pinskia at gcc dot gnu dot org
2007-05-27 19:51 ` belyshev at depni dot sinp dot msu dot ru
` (2 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-08 23:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from pinskia at gcc dot gnu dot org 2006-06-08 23:05 -------
*** Bug 27967 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |happyarch at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-06-08 23:25 ` pinskia at gcc dot gnu dot org
@ 2007-05-27 19:51 ` belyshev at depni dot sinp dot msu dot ru
2009-03-12 17:49 ` ubizjak at gmail dot com
2009-09-17 12:13 ` ubizjak at gmail dot com
7 siblings, 0 replies; 13+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-05-27 19:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from belyshev at depni dot sinp dot msu dot ru 2007-05-27 19:51 -------
*** Bug 31753 has been marked as a duplicate of this bug. ***
--
belyshev at depni dot sinp dot msu dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bero at arklinux dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2007-05-27 19:51 ` belyshev at depni dot sinp dot msu dot ru
@ 2009-03-12 17:49 ` ubizjak at gmail dot com
2009-09-17 12:13 ` ubizjak at gmail dot com
7 siblings, 0 replies; 13+ messages in thread
From: ubizjak at gmail dot com @ 2009-03-12 17:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from ubizjak at gmail dot com 2009-03-12 17:48 -------
*** Bug 35135 has been marked as a duplicate of this bug. ***
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mueller at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2009-03-12 17:49 ` ubizjak at gmail dot com
@ 2009-09-17 12:13 ` ubizjak at gmail dot com
7 siblings, 0 replies; 13+ messages in thread
From: ubizjak at gmail dot com @ 2009-09-17 12:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from ubizjak at gmail dot com 2009-09-17 12:13 -------
A recent patch in mainline should fix this problem [1]. The testcase works OK
for 4.3.4, 4.4.2 and 4.5.0. Please re-test with current mainline SVN and open a
new PR if the test still fails.
[1] http://gcc.gnu.org/ml/gcc-patches/2009-09/msg00003.html
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon}
@ 2004-06-24 21:24 herton at brturbo dot com
2004-12-27 3:32 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 13+ messages in thread
From: herton at brturbo dot com @ 2004-06-24 21:24 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]
When compiling qemu 0.5.5 (http://fabrice.bellard.free.fr/qemu/), the following
error occurs:
gcc -O2 -frename-registers -fomit-frame-pointer -march=i686 -fomit-frame-pointer
-I. -I/tmp/qemu/BUILD/qemu-0.5.5/target-i386 -I/tmp/qemu/BUILD/qemu-0.5.5
-D_GNU_SOURCE -c -o translate.o /tmp/qemu/BUILD/qemu-0.5.5/target-i386/translate.c
gcc -O2 -frename-registers -fomit-frame-pointer -march=i686 -I.
-I/tmp/qemu/BUILD/qemu-0.5.5/target-i386 -I/tmp/qemu/BUILD/qemu-0.5.5
-D_GNU_SOURCE -c -o helper.o /tmp/qemu/BUILD/qemu-0.5.5/target-i386/helper.c
In file included from /tmp/qemu/BUILD/qemu-0.5.5/target-i386/helper.c:2492:
/tmp/qemu/BUILD/qemu-0.5.5/softmmu_template.h: In function `slow_ldq_mmu':
/tmp/qemu/BUILD/qemu-0.5.5/softmmu_template.h:179: error: unable to find a
register to spill in class `GENERAL_REGS'
/tmp/qemu/BUILD/qemu-0.5.5/softmmu_template.h:179: error: this is the insn:
(insn:HI 167 164 168 6 0x407a0ec8 (parallel [
(set (reg:DI 112)
(lshiftrt:DI (reg/v:DI 63)
(subreg:QI (reg:SI 111) 0)))
(clobber (scratch:SI))
(clobber (reg:CC 17 flags))
]) 320 {lshrdi3_1} (insn_list 136 (insn_list 164 (nil)))
(expr_list:REG_DEAD (reg/v:DI 63)
(expr_list:REG_UNUSED (scratch:SI)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))))
/tmp/qemu/BUILD/qemu-0.5.5/softmmu_template.h:179: confused by earlier errors,
bailing out
make[1]: ** [helper.o] Erro 1
make[1]: Leaving directory `/tmp/qemu/BUILD/qemu-0.5.5/i386'
make: ** [all] Erro 1
erro: Status de saída ruim em /tmp/qemu/BUILDROOT/rpm-tmp.6894 (%build)
As the log shows, I used the flags "-O2 -frename-registers -fomit-frame-pointer
-march=i686". Interestingly, the problem above doesn't occurs when I specify
-march={i386,i486,i586}, I only have an error when using i686/athlon/pentium4 (I
didn't test all combinations, probably other options greater than i686 are also
affected). To compile qemu with different flags, you must edit Makefile and
Makefile.target from qemu sources, using for example sed:
sed -i "s/CFLAGS=.*/CFLAGS=-O2 -frename-registers -fomit-frame-pointer
-march=i686/" Makefile{,.target}
--
Summary: qemu 0.5.5 fails to compile with -
march={i686,pentium4,athlon}
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: herton at brturbo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i386-conectiva-linux
GCC target triplet: i386-conectiva-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
2004-06-24 21:24 [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon} herton at brturbo dot com
@ 2004-12-27 3:32 ` pinskia at gcc dot gnu dot org
2005-01-11 16:28 ` belyshev at depni dot sinp dot msu dot ru
` (3 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 3:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-27 03:32 -------
x86 is known to be register stared and global registers just makes it worse because they make the
registers fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Priority|P1 |P2
Summary|ICE: in spill_failure, at |ICE: in spill_failure, at
|reload1.c:1892 |reload1.c:1892, global
| |registers and long long
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
2004-06-24 21:24 [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon} herton at brturbo dot com
2004-12-27 3:32 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
@ 2005-01-11 16:28 ` belyshev at depni dot sinp dot msu dot ru
2005-05-09 20:28 ` belyshev at depni dot sinp dot msu dot ru
` (2 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-11 16:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-01-11 16:18 -------
Caused by this patch:
Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
* i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|2.95.3 3.3.3 3.3.4 3.4.0 |2.95 2.95.3 3.3.3 3.3.4
|3.4.1 4.0.0 |3.4.0 3.4.1 4.0.0
Last reconfirmed|2004-12-27 03:15:48 |2005-01-11 16:18:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
2004-06-24 21:24 [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon} herton at brturbo dot com
2004-12-27 3:32 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
2005-01-11 16:28 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-05-09 20:28 ` belyshev at depni dot sinp dot msu dot ru
2005-06-15 17:28 ` belyshev at depni dot sinp dot msu dot ru
2005-06-26 12:26 ` steven at gcc dot gnu dot org
4 siblings, 0 replies; 13+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-05-09 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-05-09 20:28 -------
*** Bug 21469 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pbrook at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
2004-06-24 21:24 [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon} herton at brturbo dot com
` (2 preceding siblings ...)
2005-05-09 20:28 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-06-15 17:28 ` belyshev at depni dot sinp dot msu dot ru
2005-06-26 12:26 ` steven at gcc dot gnu dot org
4 siblings, 0 replies; 13+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-06-15 17:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-06-15 17:28 -------
*** Bug 22080 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |greenrd at greenrd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long
2004-06-24 21:24 [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon} herton at brturbo dot com
` (3 preceding siblings ...)
2005-06-15 17:28 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-06-26 12:26 ` steven at gcc dot gnu dot org
4 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-06-26 12:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 12:26 -------
Taking three or more registers as in the test cases from comment #5 and
from Bug 21469, or using regparam, is just asking for trouble on a target
with only six registers available, total. While this is a regression, we
also have cases that didn't compile with old compilers and now do. It is
just a matter of luck if you're going to fix registers -- even the order
in which the statements are expanded to RTL can matter for the register
pressure, and in this case y'all are so unlucky to need a larger number of
registers than what you've left available to the compiler.
I believe this bug should be closed as SUSPEND unless test cases exist
that use neither regparam nor global register variables.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16185
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-09-17 12:13 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-16185-8799@http.gcc.gnu.org/bugzilla/>
2005-10-10 0:22 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
2005-11-28 5:21 ` pinskia at gcc dot gnu dot org
2006-02-24 9:46 ` rmathew at gcc dot gnu dot org
2006-05-04 17:43 ` pinskia at gcc dot gnu dot org
2006-06-08 23:25 ` pinskia at gcc dot gnu dot org
2007-05-27 19:51 ` belyshev at depni dot sinp dot msu dot ru
2009-03-12 17:49 ` ubizjak at gmail dot com
2009-09-17 12:13 ` ubizjak at gmail dot com
2004-06-24 21:24 [Bug c/16185] New: qemu 0.5.5 fails to compile with -march={i686,pentium4,athlon} herton at brturbo dot com
2004-12-27 3:32 ` [Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long pinskia at gcc dot gnu dot org
2005-01-11 16:28 ` belyshev at depni dot sinp dot msu dot ru
2005-05-09 20:28 ` belyshev at depni dot sinp dot msu dot ru
2005-06-15 17:28 ` belyshev at depni dot sinp dot msu dot ru
2005-06-26 12:26 ` steven 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).