Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / stack-checking.c
blobeaa40581c865b00a7547245d132d961dcd43780b
1 /* { dg-do run { target { *-*-linux* } } } */
2 /* { dg-require-stack-check "" } */
3 /* { dg-options "-fstack-check" } */
5 int main(void)
7 char *p;
8 if (1)
10 char i[48];
11 p = __builtin_alloca(8);
12 p[0] = 1;
15 if (1)
17 char i[48], j[64];
18 j[32] = 0;
21 return !p[0];