From: Vladimir Makarov Date: Wed, 27 Nov 2013 16:30:48 +0000 (+0000) Subject: re PR rtl-optimization/57410 (ICE: in emit_spill_move, at lra-constraints.c:863 with... X-Git-Tag: releases/gcc-4.9.0~2413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36db5f30004bdf03cde1fbd0e1355ff50e1b91cc;p=thirdparty%2Fgcc.git 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 PR rtl-optimization/57410 * gcc.target/i386/pr57410.c: New. From-SVN: r205451 --- diff --git a/gcc/testsuite/gcc.target/i386/pr57410.c b/gcc/testsuite/gcc.target/i386/pr57410.c new file mode 100644 index 000000000000..6ca65d000304 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr57410.c @@ -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]; +}