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
doc: Focus on DWARF for FreeBSD
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
941202-1.c
blob
db45399a2aa8484270a9ff4f42d3e5dc73450d6b
1
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
2
/* { dg-additional-options "-std=gnu89" } */
3
g
(
x
,
y
)
4
{
5
if
(
x
!=
3
)
6
abort
();
7
}
8
9
static
inline
10
f
(
int
i
)
11
{
12
int
*
tmp
;
13
14
tmp
= (
int
*)
alloca
(
sizeof
(
i
));
15
*
tmp
=
i
;
16
g
(*
tmp
,
0
);
17
}
18
19
main
()
20
{
21
f
(
3
);
22
exit
(
0
);
23
};