From: H.J. Lu Date: Fri, 5 Aug 2011 22:05:43 +0000 (+0000) Subject: Add a testcase for PR middle-end/47364. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6d44f201605eed01f2a9e1cc2781277d08e37c5;p=gcc.git Add a testcase for PR middle-end/47364. 2011-08-05 H.J. Lu PR middle-end/47364 * gcc.dg/torture/pr47364-1.c: New. From-SVN: r177487 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3b5a17fbf19..8f14a9308e6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-08-05 H.J. Lu + + PR middle-end/47364 + * gcc.dg/torture/pr47364-1.c: New. + 2011-08-05 Thomas Koenig PR fortran/37221 diff --git a/gcc/testsuite/gcc.target/i386/pr47364-1.c b/gcc/testsuite/gcc.target/i386/pr47364-1.c new file mode 100644 index 00000000000..49ee6f46c3c --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr47364-1.c @@ -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; +}