blob: d27f899fd5a74f45a004dce643c430c85cab1159 [file] [log] [blame]
/* { dg-do compile { target { ! { ia32 } } } } */
/* { 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" } } */