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
2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr48953.c
blob
e5c8d6723b26b09d5cc6a8562141b1210652e4d8
1
/* { dg-do run } */
2
/* { dg-options "-fno-tree-dce" } */
3
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
4
5
static
inline
int
foo
(
int
n
,
int
k
)
6
{
7
struct
S
8
{
9
int
i
[
n
];
10
int
value
;
11
}
s
[
2
];
12
return
s
[
k
].
value
=
0
;
13
}
14
15
int
main
()
16
{
17
return
foo
(
2
,
0
);
18
}