blob: 9abfbd32025ffa69e6090ced00e0c8b67a272d54 [file] [log] [blame]
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-require-effective-target maybe_x32 } */
/* { dg-options "-O2 -mx32 -maddress-mode=short" } */
extern char array[40];
char foo (long long position)
{
return array[position + 1];
}
/* { dg-final { scan-assembler-not "add\[lq\]?\[^\n\]*1" } } */