public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE
@ 2007-04-12 16:59 gcc at breakpoint dot cc
2007-04-12 17:02 ` [Bug rtl-optimization/31552] " gcc at breakpoint dot cc
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gcc at breakpoint dot cc @ 2007-04-12 16:59 UTC (permalink / raw)
To: gcc-bugs
If gcc runs out of volatile VMX registers, he is going to save the non volatile
registers. This fails if one of them is defined in -fcall-used-vXX (test case
attaced)
--
Summary: -fcall-used-vXX turns into ICE
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at breakpoint dot cc
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/31552] -fcall-used-vXX turns into ICE
2007-04-12 16:59 [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE gcc at breakpoint dot cc
@ 2007-04-12 17:02 ` gcc at breakpoint dot cc
2007-04-12 17:04 ` gcc at breakpoint dot cc
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: gcc at breakpoint dot cc @ 2007-04-12 17:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from gcc at breakpoint dot cc 2007-04-12 18:02 -------
Created an attachment (id=13357)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13357&action=view)
test case for the "internal compiler error: in propagate_one_insn, at
flow.c:1699"
Reults ins:
powerpc64-unknown-linux-gnu-gcc -Wall -maltivec -Os -mabi=altivec
-fcall-used-v20 -o altivec_prolog.o altivec_prolog.c -c
altivec_prolog.c: In function 'f2':
altivec_prolog.c:64: error: Attempt to delete prologue/epilogue insn:
(insn 231 230 232 2 (set (reg:V4SI 97 20)
(mem:V4SI (plus:DI (reg/f:DI 1 1)
(reg:DI 0 0)) [1 S16 A8])) -1 (nil)
(nil))
altivec_prolog.c:64: internal compiler error: in propagate_one_insn, at
flow.c:1699
Please submit a full bug report,
with preprocessed source if appropriate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/31552] -fcall-used-vXX turns into ICE
2007-04-12 16:59 [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE gcc at breakpoint dot cc
2007-04-12 17:02 ` [Bug rtl-optimization/31552] " gcc at breakpoint dot cc
@ 2007-04-12 17:04 ` gcc at breakpoint dot cc
2007-04-14 23:56 ` [Bug target/31552] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: gcc at breakpoint dot cc @ 2007-04-12 17:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from gcc at breakpoint dot cc 2007-04-12 18:04 -------
Created an attachment (id=13358)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13358&action=view)
Preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/31552] -fcall-used-vXX turns into ICE
2007-04-12 16:59 [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE gcc at breakpoint dot cc
2007-04-12 17:02 ` [Bug rtl-optimization/31552] " gcc at breakpoint dot cc
2007-04-12 17:04 ` gcc at breakpoint dot cc
@ 2007-04-14 23:56 ` pinskia at gcc dot gnu dot org
2007-07-26 1:17 ` dtemirbulatov at gmail dot com
2007-07-26 1:23 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-14 23:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-15 00:56 -------
Confirmed, reduced testcase:
static const __attribute__((altivec(vector__))) unsigned char array[16];
static __attribute__((altivec(vector__))) unsigned char
f1(__attribute__((altivec(vector__))) unsigned char in)
{
__attribute__((altivec(vector__))) unsigned char v1, v2, v3, v4, v5, v6, v7,
v8;
__attribute__((altivec(vector__))) unsigned char v0, v9, v10, v12, v13, v14,
v15;
__attribute__((altivec(vector__))) unsigned char v16, v17, v20, v18, v19;
v3 = __builtin_vec_perm(array[4], array[5], in);
v4 = __builtin_vec_perm(array[6], array[7], in);
v5 = __builtin_vec_perm(array[8], array[9], in);
v6 = __builtin_vec_perm(array[10], array[11], in);
v7 = __builtin_vec_perm(array[12], array[13], in);
v8 = __builtin_vec_perm(array[14], array[15], in);
v13 = __builtin_vec_sel(v3, v4, v0);
v14 = __builtin_vec_sel(v5, v6, v0);
v15 = __builtin_vec_sel(v7, v8, v0);
v19 = __builtin_vec_vslb(in, ((__attribute__((altivec(vector__))) unsigned
char) __builtin_altivec_vspltisb (((1)))));
v9 = (__attribute__((altivec(vector__))) unsigned
char)__builtin_vec_vcmpgtub(v19, array[2]);
v16 = __builtin_vec_sel(v12, v13, v9);
v17 = __builtin_vec_sel(v14, v15, v9);
v20 = __builtin_vec_sel(v16, v17, v10);
return v20;
}
int f2(__attribute__((altivec(vector__))) unsigned char av[15])
{
unsigned __attribute__((altivec(vector__))) char tmp;
unsigned int i;
for (i=0; i< 20; i++)
{
tmp = f1(tmp);
av[i] = tmp;
}
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|powerpc-unknown-linux-gnu |
GCC host triplet|powerpc-unknown-linux-gnu |
GCC target triplet|powerpc-unknown-linux-gnu |powerpc*-linux-gnu
Keywords| |ice-on-valid-code
Known to fail| |4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-04-15 00:56:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/31552] -fcall-used-vXX turns into ICE
2007-04-12 16:59 [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE gcc at breakpoint dot cc
` (2 preceding siblings ...)
2007-04-14 23:56 ` [Bug target/31552] " pinskia at gcc dot gnu dot org
@ 2007-07-26 1:17 ` dtemirbulatov at gmail dot com
2007-07-26 1:23 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dtemirbulatov at gmail dot com @ 2007-07-26 1:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dtemirbulatov at gmail dot com 2007-07-26 01:16 -------
this issue could not be reproduced on the mainline after dataflow-branch merge
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/31552] -fcall-used-vXX turns into ICE
2007-04-12 16:59 [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE gcc at breakpoint dot cc
` (3 preceding siblings ...)
2007-07-26 1:17 ` dtemirbulatov at gmail dot com
@ 2007-07-26 1:23 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-26 1:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-07-26 01:23 -------
I am just going to close this as being fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-07-26 1:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-12 16:59 [Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE gcc at breakpoint dot cc
2007-04-12 17:02 ` [Bug rtl-optimization/31552] " gcc at breakpoint dot cc
2007-04-12 17:04 ` gcc at breakpoint dot cc
2007-04-14 23:56 ` [Bug target/31552] " pinskia at gcc dot gnu dot org
2007-07-26 1:17 ` dtemirbulatov at gmail dot com
2007-07-26 1:23 ` pinskia 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).