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
* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Walloca-12.c
blob
5d71cda8e51aa1ca15329bead012a1077a63c34b
1
/* { dg-do compile } */
2
/* { dg-options "-Walloca-larger-than=128 -O2" } */
3
4
void
f
(
void
*);
5
6
void
g
(
unsigned int
n
)
7
{
8
if
(
n
==
7
)
9
n
=
11
;
10
f
(
__builtin_alloca
(
n
));
/* { dg-warning "unbounded use of 'alloca'" } */
11
}