This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39335] ICE in GCC 4.4 with -O[123] -floop-interchange
- From: "spop at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2009 19:05:23 -0000
- Subject: [Bug middle-end/39335] ICE in GCC 4.4 with -O[123] -floop-interchange
- References: <bug-39335-17135@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from spop at gcc dot gnu dot org 2009-03-02 19:05 -------
Subject: Re: ICE in GCC 4.4 with -O[123]
-floop-interchange
On Mon, Mar 2, 2009 at 11:42, il dot basso dot buffo at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #4 from il dot basso dot buffo at gmail dot com ?2009-03-02 17:42 -------
> This reduction gives a different (but probably related) ICE:
>
> void crash_me(int num1, int num2, char * in, char * out)
> {
> ?int i, j;
> ?for (j = 0; j < num1; j++)
> ? ?for (i = 0; i < num2; i++)
> ? ? ?*out++ = *in++;
> }
>
> $gcc -O1 -floop-interchange -c crash_me.c
> crash_me.c: In function 'crash_me':
> crash_me.c:7: error: unrecognizable insn:
> (insn 24 22 25 6 test.c:5 (set (reg:DI 70)
> ? ? ? ?(reg:SI 62 [ D.1626 ])) -1 (nil))
> crash_me.c:7: internal compiler error: in extract_insn, at recog.c:2038
This is fixed as well by the patch that I sent out. I'm bootstrapping
and testing it.
Sebastian
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39335