Debian Codegraph @

gcc/testsuite/gcc.target/pdp11/pr107841.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 /* Verify that the stack frame is deallocated using the frame pointer. */
5
6 void qq (int a)
7 {
8 char *s = __builtin_alloca (128);
9 __builtin_sprintf (s, "qq %d", 3);
10 }
11
12 /* { dg-final { scan-assembler "mov\tr5,sp" } } */