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:
parent
0fe530b6f0
commit
36db5f3000
12
gcc/testsuite/gcc.target/i386/pr57410.c
Normal file
12
gcc/testsuite/gcc.target/i386/pr57410.c
Normal 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];
|
||||
}
|
Loading…
Reference in New Issue
Block a user