(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr54457.c
       1  /* { dg-do compile { target { ! ia32 } } } */
       2  /* { dg-require-effective-target maybe_x32 } */
       3  /* { dg-options "-O2 -mx32 -maddress-mode=short" } */
       4  
       5  extern char array[40];
       6  
       7  char foo (long long position)
       8  {
       9    return array[position + 1];
      10  }
      11  
      12  /* { dg-final { scan-assembler-not "add\[lq\]?\[^\n\]*1" } } */