Hi, I checked in this patch to add a testcase for PR middle-end/47364.
H.J. --- Index: gcc.target/i386/pr47364-1.c =================================================================== --- gcc.target/i386/pr47364-1.c (revision 0) +++ gcc.target/i386/pr47364-1.c (revision 0) @@ -0,0 +1,12 @@ +/* { dg-do compile } */ +/* { dg-options "-O" } */ + +static unsigned char foo[256]; + +arc4_init(void) +{ + int n; + + for (n = 0; n < 256; n++) + foo[n] = n; +} Index: ChangeLog =================================================================== --- ChangeLog (revision 177486) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2011-08-05 H.J. Lu <hongjiu...@intel.com> + + PR middle-end/47364 + * gcc.dg/torture/pr47364-1.c: New. + 2011-08-05 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37221