blob: 1430f1dbc5b206ca196c94a360266b3823f9635a [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" } } */