1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -maddress-mode=short" } */
4 
5 extern int foo (int *);
6 int
bar(int * p)7 bar (int *p)
8 {
9   __attribute__ ((noinline, noclone))
10   int hack_digit (void)
11     {
12       return foo (p);
13     }
14   return hack_digit ();
15 }
16