summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/stack-corruption.c
blob: cc44c628087d6eb27bbd2ba3789c53fcf65c25e6 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O -mthumb -fno-omit-frame-pointer" } */

int main() {
  return 0;
}

/* { dg-final { scan-assembler-not "\tadd\tr7, sp, #8\n" } } */