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/ipa/inline-2.c: Fix implicit declarations.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr59350-2.c
blob
2fea85fcf71951651bdcc96a7e00aba9f6721041
1
/* PR debug/59350 */
2
3
/* { dg-do compile } */
4
/* { dg-options "-O -g " } */
5
6
typedef
struct
7
{
8
void
*
v
;
9
int
len
;
10
int
sign
;
11
}
ZVALUE
;
12
13
extern
int
pred
(
ZVALUE
);
14
15
static unsigned long
16
small_factor
(
ZVALUE z
)
17
{
18
if
(
z
.
len
>
0
)
19
return
0
;
20
21
return
pred
(
z
) ? -
1
:
0
;
22
}
23
24
unsigned long
25
zfactor
(
ZVALUE z
)
26
{
27
z
.
sign
=
0
;
28
return
small_factor
(
z
);
29
}