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
/
20101010-1.c
blob
cd8fddf62d29f55b2397dee2792d5da69aee7a6c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-crossjumping" } */
3
4
int
bar1
();
5
int
bar2
();
6
7
int
foo
(
void
)
8
{
9
int
len
;
10
if
(
bar1
(&
len
))
11
{
12
char
devpath
[
len
];
13
if
(
bar2
(
devpath
) ==
len
)
14
return
len
;
15
}
16
return
-
1
;
17
}