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
PR tree-optimization/81913
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr81913.c
blob
11eec4e1eafac5142df71be6cffb0d4e1b0218e9
1
/* PR tree-optimization/81913 */
2
3
typedef
unsigned char
u8
;
4
typedef
unsigned int
u32
;
5
6
static
u32
7
b
(
u8 d
,
u32 e
,
u32 g
)
8
{
9
do
10
{
11
e
+=
g
+
1
;
12
d
--;
13
}
14
while
(
d
>= (
u8
)
e
);
15
16
return
e
;
17
}
18
19
int
20
main
(
void
)
21
{
22
u32 x
=
b
(
1
, -
0x378704
, ~
0xba64fc
);
23
if
(
x
!=
0xd93190d0
)
24
__builtin_abort
();
25
return
0
;
26
}
27