re PR rtl-optimization/57410 (ICE: in emit_spill_move, at lra-constraints.c:863 with -fpeel-loops and uninitialised variable)

2013-11-27  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/57410
	* gcc.target/i386/pr57410.c: New.

From-SVN: r205451
This commit is contained in:
Vladimir Makarov 2013-11-27 16:30:48 +00:00
parent 0fe530b6f0
commit 36db5f3000

View File

@ -0,0 +1,12 @@
/* { dg-do compile } */
/* { dg-options "-O -fpeel-loops" } */
extern char outbuffer[];
extern char buffer[];
void foo(int j)
{
unsigned i, fp = fp;
for (i = 0; i < 6; i++)
buffer[j++] = outbuffer[fp - i];
}