Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr82267.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -maddress-mode=short" } */
4
5 int
6 stackuse (void)
7 {
8 volatile int foo = 2;
9 return foo * 3;
10 }
11
12 /* Verify we that use %rsp to access stack. */
13 /* { dg-final { scan-assembler-not "%esp" } } */
14 /* { dg-final { scan-assembler "%rsp" } } */