Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20000904-1.c
blob0fbce57e1be4c0f6a8f5574b1d16a5a66be8c258
1 /* { dg-do compile } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-O0 -fpic" } */
5 static struct {
6 unsigned short a, b, c, d;
7 } x[10];
9 int foo(int i)
11 return ((*((char *)&x[i] + i)) | (*((char *)&x[i] + i)));