public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
@ 2005-03-06 10:11 belyshev at depni dot sinp dot msu dot ru
2005-03-06 10:15 ` [Bug rtl-optimization/20342] " belyshev at depni dot sinp dot msu dot ru
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-06 10:11 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]
------------------------------------------------------------------------------
/* { dg-do assemble { target x86_64-*-* } } */
/* { dg-options "-O2" } */
typedef int vec __attribute__ ((vector_size (8)));
void foo (int j, vec r)
{
unsigned short *dst;
while (j--)
*dst = (unsigned long long) __builtin_ia32_por (r, (vec) 0LL);
}
------------------------------------------------------------------------------
gcc -S -O2 fbmmx1.c
fbmmx1.c: In function foo:
fbmmx1.c:14: error: unable to find a register to spill in class GENERAL_REGS
fbmmx1.c:14: error: this is the insn:
(insn:HI 31 27 33 2 (set (subreg:V2SI (reg:DI 1 dx [orig:72 D.1471 ] [72]) 0)
(reg:V2SI 29 mm0 [74])) 920 {*movv2si_internal_rex64} (nil)
(nil))
fbmmx1.c:14: internal compiler error: in spill_failure, at reload1.c:1872
--
Summary: [4.0/4.1 regression] ICE in spill_failure, at
reload1.c:1872
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at depni dot sinp dot msu dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
@ 2005-03-06 10:15 ` belyshev at depni dot sinp dot msu dot ru
2005-03-06 12:13 ` giovannibajo at libero dot it
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-06 10:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-03-06 10:15 -------
similar program, but with
-typedef int vec __attribute__ ((vector_size (8)));
+typedef int vec __attribute__ ((mode(DI)));
compiles fine with 3.4.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.4
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
2005-03-06 10:15 ` [Bug rtl-optimization/20342] " belyshev at depni dot sinp dot msu dot ru
@ 2005-03-06 12:13 ` giovannibajo at libero dot it
2005-03-06 12:59 ` belyshev at depni dot sinp dot msu dot ru
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2005-03-06 12:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-03-06 12:13 -------
this might be a fallout of rth's cleanups.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
Version|4.1.0 |unknown
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
2005-03-06 10:15 ` [Bug rtl-optimization/20342] " belyshev at depni dot sinp dot msu dot ru
2005-03-06 12:13 ` giovannibajo at libero dot it
@ 2005-03-06 12:59 ` belyshev at depni dot sinp dot msu dot ru
2005-03-06 14:55 ` [Bug target/20342] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-06 12:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (2 preceding siblings ...)
2005-03-06 12:59 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-03-06 14:55 ` pinskia at gcc dot gnu dot org
2005-03-11 21:14 ` belyshev at depni dot sinp dot msu dot ru
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-06 14:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|rtl-optimization |target
Keywords| |ssemmx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (3 preceding siblings ...)
2005-03-06 14:55 ` [Bug target/20342] " pinskia at gcc dot gnu dot org
@ 2005-03-11 21:14 ` belyshev at depni dot sinp dot msu dot ru
2005-04-01 0:33 ` rth at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-11 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-03-11 21:14 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-03-11 21:14:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (4 preceding siblings ...)
2005-03-11 21:14 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-04-01 0:33 ` rth at gcc dot gnu dot org
2005-04-05 14:57 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-01 0:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-03-11 21:14:21 |2005-04-01 00:33:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (5 preceding siblings ...)
2005-04-01 0:33 ` rth at gcc dot gnu dot org
@ 2005-04-05 14:57 ` pinskia at gcc dot gnu dot org
2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 14:57 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (6 preceding siblings ...)
2005-04-05 14:57 ` pinskia at gcc dot gnu dot org
@ 2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:03 ` rth at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 22:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-05 22:53 -------
Subject: Bug 20342
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-04-05 22:53:08
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.c i386.h i386.md predicates.md
Log message:
PR target/20342
PR target/20447
* config/i386/i386.c (print_operand): Handle vector zeros.
(ix86_split_to_parts): Handle CONST_VECTOR.
(ix86_hard_regno_mode_ok): Allow MMX modes in general regs.
(ix86_modes_tieable_p): Use ix86_hard_regno_mode_ok to decide
what modes to tie for MMX and SSE registers.
* config/i386/i386.h (MMX_REG_MODE_P): Remove.
* config/i386/i386.md: Extend move 0 -> xor peephole to apply
to vector modes as well.
* config/i386/predicates.md (const0_operand): Handle VOIDmode
properly as an input mode.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8153&r2=2.8154
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.804&r2=1.805
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&r1=1.425&r2=1.426
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&r1=1.624&r2=1.625
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/predicates.md.diff?cvsroot=gcc&r1=1.16&r2=1.17
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (7 preceding siblings ...)
2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:03 ` rth at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 23:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-05 22:59 -------
Subject: Bug 20342
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-04-05 22:59:33
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.c i386.h i386.md predicates.md
Log message:
PR target/20342
PR target/20447
* config/i386/i386.c (print_operand): Handle vector zeros.
(ix86_split_to_parts): Handle CONST_VECTOR.
(ix86_hard_regno_mode_ok): Allow MMX modes in general regs.
(ix86_modes_tieable_p): Use ix86_hard_regno_mode_ok to decide
what modes to tie for MMX and SSE registers.
* config/i386/i386.h (MMX_REG_MODE_P): Remove.
* config/i386/i386.md: Extend move 0 -> xor peephole to apply
to vector modes as well.
* config/i386/predicates.md (const0_operand): Handle VOIDmode
properly as an input mode.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.128&r2=2.7592.2.129
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.795.6.2&r2=1.795.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.421&r2=1.421.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.618&r2=1.618.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/predicates.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.16&r2=1.16.10.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/20342] [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
` (8 preceding siblings ...)
2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 23:03 ` rth at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-05 23:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-04-05 23:02 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20342
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-04-05 23:03 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-06 10:11 [Bug rtl-optimization/20342] New: [4.0/4.1 regression] ICE in spill_failure, at reload1.c:1872 belyshev at depni dot sinp dot msu dot ru
2005-03-06 10:15 ` [Bug rtl-optimization/20342] " belyshev at depni dot sinp dot msu dot ru
2005-03-06 12:13 ` giovannibajo at libero dot it
2005-03-06 12:59 ` belyshev at depni dot sinp dot msu dot ru
2005-03-06 14:55 ` [Bug target/20342] " pinskia at gcc dot gnu dot org
2005-03-11 21:14 ` belyshev at depni dot sinp dot msu dot ru
2005-04-01 0:33 ` rth at gcc dot gnu dot org
2005-04-05 14:57 ` pinskia at gcc dot gnu dot org
2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:03 ` rth 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).