repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
stack-checking.c
blob
eaa40581c865b00a7547245d132d961dcd43780b
1
/* { dg-do run { target { *-*-linux* } } } */
2
/* { dg-require-stack-check "" } */
3
/* { dg-options "-fstack-check" } */
4
5
int
main
(
void
)
6
{
7
char
*
p
;
8
if
(
1
)
9
{
10
char
i
[
48
];
11
p
=
__builtin_alloca
(
8
);
12
p
[
0
] =
1
;
13
}
14
15
if
(
1
)
16
{
17
char
i
[
48
],
j
[
64
];
18
j
[
32
] =
0
;
19
}
20
21
return
!
p
[
0
];
22
}