Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr54457.c
blob9abfbd32025ffa69e6090ced00e0c8b67a272d54
1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -maddress-mode=short" } */
5 extern char array[40];
7 char foo (long long position)
9 return array[position + 1];
12 /* { dg-final { scan-assembler-not "add\[lq\]?\[^\n\]*1" } } */