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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20010209-1.c
blob
1df7332f209638bcca93af88a4839c8c842492c8
1
/* { dg-require-effective-target alloca } */
2
int
b
;
3
int
foo
(
void
)
4
{
5
int
x
[
b
];
6
int
bar
(
int
t
[
b
])
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
b
;
i
++)
10
t
[
i
] =
i
+ (
i
>
0
?
t
[
i
-
1
] :
0
);
11
return
t
[
b
-
1
];
12
}
13
return
bar
(
x
);
14
}
15
16
int
main
()
17
{
18
b
=
6
;
19
if
(
foo
() !=
15
)
20
abort
();
21
exit
(
0
);
22
}