This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ia64 linux doesn't bootstrap
- From: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: mark at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org, janis187 at us dot ibm dot com, dje at watson dot ibm dot com
- Date: Tue, 22 Oct 2002 02:11:43 +0200 (MET DST)
- Subject: Re: ia64 linux doesn't bootstrap
Janis Johnson wrote:
>middle-end/8306: ICE for bitfield7_y.C in C++ compatibility tests
>I left it with the default; someone can change it if it turns out to be
>a regression. It affects sparc and arm as well as powerpc.
And s390.
What appears to happen is that extract_bit_field is called to
extract a 64-bit bitfield into an SImode target.
This violates the assumption in this comment
/* ??? We currently assume TARGET is at least as big as BITSIZE.
If that's wrong, the solution is to test for it and set TARGET to 0
if needed. */
and in particular on big-endian targets, causes operand_subword
to be called with a wordnum of -1, which then aborts.
I haven't analysed why extract_bit_field is called like that.
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de