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: "il dot basso dot buffo at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2009 17:42:55 -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 #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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39335