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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wunused-var-6.c
blob
12a7dddc00db82c54f9b57669b3b5d8958fd104f
1
/* PR c/43981 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunused" } */
4
/* { dg-require-effective-target alloca } */
5
6
void
g
(
char
*);
7
8
char
9
f
(
int
a
)
10
{
11
int
len
=
a
*
3
;
12
char
t
[
len
];
13
14
g
(
t
);
15
return
t
[
0
];
16
}