repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr17133.c
blob
63352c07ac18af348dbfdbaade0be2e2fc5983ef
1
extern
void
abort
(
void
);
2
3
int
foo
=
0
;
4
void
*
bar
=
0
;
5
unsigned int
baz
=
100
;
6
7
void
*
pure_alloc
()
8
{
9
void
*
res
;
10
11
while
(
1
)
12
{
13
res
= (
void
*) ((((
unsigned int
) (
foo
+
bar
))) & ~
1
);
14
foo
+=
2
;
15
if
(
foo
<
baz
)
16
return
res
;
17
foo
=
0
;
18
}
19
}
20
21
int
main
()
22
{
23
pure_alloc
();
24
if
(!
foo
)
25
abort
();
26
return
0
;
27
}