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-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
miscomp.c
blob
0bcb568d54b03d3d0a7c2444096e34f8027f444f
1
unsigned char
foo
(
unsigned long
);
2
main
()
3
{
4
unsigned char
AChar
;
5
unsigned long
ALong
=
0x12345678
;
6
7
AChar
=
foo
(
ALong
);
8
9
printf
(
"AChar = %x
\n
"
,(
int
)
AChar
);
10
}
11
unsigned char
12
foo
(
unsigned long
TheLong
)
13
{
14
return
( (
unsigned char
) (
TheLong
&
0xff
) );
15
}