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
/
pr52533.c
blob
82753cd73d64479fc730fef96784e8fe45122e1b
1
/* PR tree-optimization/52533 */
2
3
int
4
foo
(
unsigned char
x
)
5
{
6
if
(
x
<=
9
)
7
return
'0'
+
x
;
8
else if
(
x
<=
15
)
9
return
'a'
+ (
x
-
10
);
10
else
11
return
0
;
12
}
13
14
void
15
bar
(
unsigned char
x
,
unsigned char
*
y
)
16
{
17
y
[
0
] =
foo
((
unsigned char
) (
x
>>
4
));
18
y
[
1
] =
foo
((
unsigned char
) (
x
&
0x0f
));
19
}