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 middle-end/30262
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20031216-1.c
blob
709f0166a207b6a01581774782a262564e70481e
1
/* PR optimization/13313 */
2
/* Origin: Mike Lerwill <mike@ml-solutions.co.uk> */
3
4
extern
void
abort
(
void
);
5
6
void
DisplayNumber
(
unsigned long
v
)
7
{
8
if
(
v
!=
0x9a
L
)
9
abort
();
10
}
11
12
unsigned long
ReadNumber
(
void
)
13
{
14
return
0x009a0000
L
;
15
}
16
17
int
main
(
void
)
18
{
19
unsigned long
tmp
;
20
tmp
= (
ReadNumber
() &
0x00ff0000
L
) >>
16
;
21
DisplayNumber
(
tmp
);
22
return
0
;
23
}