public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13780] New: ICE on simple altivec code compiled w/o -mabi=altivec flag
@ 2004-01-20 20:52 qboosh at pld-linux dot org
2004-01-20 20:57 ` [Bug target/13780] " dhazeghi at yahoo dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: qboosh at pld-linux dot org @ 2004-01-20 20:52 UTC (permalink / raw)
To: gcc-bugs
The following code triggers ICE in 3.3.2 (doesn't matter if PR target/11793 fix
is applied or not - I tried both versions, so it's different issue). I was told
that the same occurs on 3.4 branch and mainline.
This is already preprocessed and simplified code:
typedef __attribute__((vector_size(16))) signed int vector_s_t;
static vector_s_t my_vec_and (vector_s_t const A, vector_s_t const B)
{
return __builtin_altivec_vand(A, B);
}
When compiling with just -maltivec I get:
$ gcc -c alt.i -maltivec
alt.i: In function `my_vec_and':
alt.i:6: error: unrecognizable insn:
(insn 5 4 30 0 (nil) (set (reg:V4SI 119)
(mem/u/f:V4SI (plus:SI (reg/f:SI 67 ap)
(const_int 8 [0x8])) [0 B+0 S16 A128])) -1 (nil)
(nil))
alt.i:6: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
But:
$ gcc -c alt.i -maltivec -mabi=altivec
$
I haven't found such information, but I suppose that altivec ABI may be needed
for this code (for function to return a vector?) - so it probably fall under
"ice-on-invalid-code" - but please check.
--
Summary: ICE on simple altivec code compiled w/o -mabi=altivec
flag
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: qboosh at pld-linux dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ppc-linux
GCC host triplet: ppc-linux
GCC target triplet: ppc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13780
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/13780] ICE on simple altivec code compiled w/o -mabi=altivec flag
2004-01-20 20:52 [Bug target/13780] New: ICE on simple altivec code compiled w/o -mabi=altivec flag qboosh at pld-linux dot org
@ 2004-01-20 20:57 ` dhazeghi at yahoo dot com
2004-01-26 6:15 ` segher at kernel dot crashing dot org
2004-01-26 12:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-20 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-20 20:57 -------
I confirmed this yesterday with 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|ppc-linux |
GCC host triplet|ppc-linux |
GCC target triplet|ppc-linux |powerpc-linux
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-01-20 20:57:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13780
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/13780] ICE on simple altivec code compiled w/o -mabi=altivec flag
2004-01-20 20:52 [Bug target/13780] New: ICE on simple altivec code compiled w/o -mabi=altivec flag qboosh at pld-linux dot org
2004-01-20 20:57 ` [Bug target/13780] " dhazeghi at yahoo dot com
@ 2004-01-26 6:15 ` segher at kernel dot crashing dot org
2004-01-26 12:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: segher at kernel dot crashing dot org @ 2004-01-26 6:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From segher at kernel dot crashing dot org 2004-01-26 06:15 -------
Subject: Re: New: ICE on simple altivec code compiled w/o -mabi=altivec flag
This is ice-on-valid.
It is the same bug as altivec-5.c, for which there already is a PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13780
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/13780] ICE on simple altivec code compiled w/o -mabi=altivec flag
2004-01-20 20:52 [Bug target/13780] New: ICE on simple altivec code compiled w/o -mabi=altivec flag qboosh at pld-linux dot org
2004-01-20 20:57 ` [Bug target/13780] " dhazeghi at yahoo dot com
2004-01-26 6:15 ` segher at kernel dot crashing dot org
@ 2004-01-26 12:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-26 12:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-26 12:38 -------
This is a dup of bug 11591.
*** This bug has been marked as a duplicate of 11591 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13780
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-26 12:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20 20:52 [Bug target/13780] New: ICE on simple altivec code compiled w/o -mabi=altivec flag qboosh at pld-linux dot org
2004-01-20 20:57 ` [Bug target/13780] " dhazeghi at yahoo dot com
2004-01-26 6:15 ` segher at kernel dot crashing dot org
2004-01-26 12:38 ` 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).