public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* gcc 3.3.2 ICE on altivec - bug category question
@ 2004-01-19 19:56 Jakub Bogusz
2004-01-26 6:15 ` Segher Boessenkool
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Bogusz @ 2004-01-19 19:56 UTC (permalink / raw)
To: gcc-bugs
I'm getting an ICE using gcc 3.3.2 (doesn't matter here if PR
target/11793 fix is applied or not, I tried both versions) on
ppc-linux system, on the following code (already preprocessed and
simplified from original one):
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);
}
$ 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
$
Is suppose that altivec ABI can be needed to return vector... but
I haven't found such information - is it true?
And thus, does it fall under "ice-on-valid-code" or "ice-on-invalid-code"?
Can it be expected to be fixed in 3.3.x line, or 3.4/3.5?
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc 3.3.2 ICE on altivec - bug category question
2004-01-19 19:56 gcc 3.3.2 ICE on altivec - bug category question Jakub Bogusz
@ 2004-01-26 6:15 ` Segher Boessenkool
0 siblings, 0 replies; 3+ messages in thread
From: Segher Boessenkool @ 2004-01-26 6:15 UTC (permalink / raw)
To: Jakub Bogusz; +Cc: gcc-bugs
On 19-jan-04, at 21:01, Jakub Bogusz wrote:
> I'm getting an ICE using gcc 3.3.2 (doesn't matter here if PR
> target/11793 fix is applied or not, I tried both versions) on
> ppc-linux system, on the following code (already preprocessed and
> simplified from original one):
<snip>
This is the same bug that causes the altivec-5.c testcase to fail.
I really should fix it ;-)
> Is suppose that altivec ABI can be needed to return vector... but
> I haven't found such information - is it true?
> And thus, does it fall under "ice-on-valid-code" or
> "ice-on-invalid-code"?
Interesting question, I'm not sure really. It might be that with the
plain-old ABI a pointer to a temporary is used, just like with structs.
But the ICE is unrelated, so it is ice-on-valid.
> Can it be expected to be fixed in 3.3.x line, or 3.4/3.5?
This on will probably not go on 3.3, sorry.
Segher
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc 3.3.2 ICE on altivec - bug category question
@ 2004-01-19 21:20 Dara Hazeghi
0 siblings, 0 replies; 3+ messages in thread
From: Dara Hazeghi @ 2004-01-19 21:20 UTC (permalink / raw)
To: qboosh; +Cc: gcc-bugs
I'd call this ICE-on-invalid myself... Suggest you
file a bug report regardless though. I just checked
and its still present on 3.4 branch/mainline, so
clearly it still is an issue. Cheers,
Dara
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-26 6:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-19 19:56 gcc 3.3.2 ICE on altivec - bug category question Jakub Bogusz
2004-01-26 6:15 ` Segher Boessenkool
2004-01-19 21:20 Dara Hazeghi
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).