1 2002-05-20 Jakub Jelinek <jakub@redhat.com>
3 * gcc.dg/20020525-1.c: New test.
5 --- gcc/testsuite/gcc.dg/20020525-1.c.jj Thu Aug 30 22:30:55 2001
6 +++ gcc/testsuite/gcc.dg/20020525-1.c Sat May 25 10:45:13 2002
8 +/* PR optimization/6703
9 + Origin: Glen Nakamura <glen@imodulo.com> */
11 +/* { dg-options "-O2" } */
13 +extern void abort (void);
14 +extern void exit (int);
16 +void foo (int *x, int y)
18 + __builtin_memset (x, 0, y);
23 + int x[2] = { 0x5a5a5a5a, 0x5a5a5a5a };
25 + if (x[1] != 0x5a5a5a5a)
27 + foo (x, sizeof (int) + 1);
28 + if (x[1] == 0x5a5a5a5a)