[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / test_frame_7.c
blob96452794956f9ab34ff2b78cec0a78d5ef255eb3
1 /* Verify:
2 * -fomit-frame-pointer.
3 * without outgoing.
4 * total frame size > 512.
5 * number of callee-saved reg == 2.
6 * use a single stack adjustment, no writeback. */
8 /* { dg-do run } */
9 /* { dg-options "-O2 -fomit-frame-pointer --save-temps" } */
11 #include "test_frame_common.h"
13 t_frame_pattern (test7, 700, "x19")
14 t_frame_run (test7)
16 /* { dg-final { scan-assembler-times "stp\tx19, x30, \\\[sp]" 1 } } */
17 /* { dg-final { scan-assembler "ldp\tx19, x30, \\\[sp\\\]" } } */