1 /* builtin_frame_address(n) with n>0 has always been troublesome. */
4 /* { dg-options "-O3 -fno-optimize-sibling-calls -mbackchain" } */
7 #define SAVE_AREA_SIZE 160
9 #define SAVE_AREA_SIZE 96
11 extern void abort(void);
13 #define EXPAND_CHECK(n) \
14 void __attribute__((noinline)) \
17 if (p - __builtin_frame_address (n) != SAVE_AREA_SIZE) \
20 void __attribute__((noinline)) \
23 if (p - __builtin_frame_address (n) != SAVE_AREA_SIZE) \
25 foo1_##n (__builtin_frame_address (n)); \
27 void __attribute__((noinline)) \
30 foo2_##n (__builtin_frame_address (n)); \
32 void __attribute__((noinline)) \