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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Walloca-13.c
blob
d3af0c503996ddbece25dbdc96e45aa586ee4b9a
1
/* { dg-do compile } */
2
/* { dg-require-effective-target alloca } */
3
/* { dg-options "-Walloca-larger-than=100 -O2" } */
4
5
void
f
(
void
*);
6
7
void
g
(
int
*
p
,
int
*
q
)
8
{
9
__SIZE_TYPE__ n
= (
__SIZE_TYPE__
)(
p
-
q
);
10
if
(
n
<
100
)
11
f
(
__builtin_alloca
(
n
));
12
}