This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in int_mode_for_mode()
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: gcc at gcc dot gnu dot org, Andreas dot Krebbel at de dot ibm dot com
- Date: Fri, 18 Nov 2011 15:33:50 -0500
- Subject: Re: ICE in int_mode_for_mode()
- References: <20111118.152213.1772273255232255370.davem@davemloft.net>
David,
See PR 50325.
- David
On Fri, Nov 18, 2011 at 3:22 PM, David Miller <davem@davemloft.net> wrote:
>
> For a few days a lot of new testsuite failures have popped up on sparc,
> wherein int_mode_for_mode() gets called with "VOIDmode" as an argument
> from extract_bit_field_1 because "op0" is "(const_int 0)"
>
> I have a feeling this is a known problem, but I couldn't find any
> discussions about this.
>
> I strongly suspect the following change caused this problem:
>
> 2011-11-16 ?Andreas Krebbel ?<Andreas.Krebbel@de.ibm.com>
>
> ? ? ? ?PR middle-end/50325
> ? ? ? ?* expmed.c (store_bit_field_1): Use extract_bit_field on big
> ? ? ? ?endian targets if the source cannot be exactly covered by word
> ? ? ? ?mode chunks.
>