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
/
pr47140.c
blob
2adf53c2026a3e9637dec9d219fbfbca4e14a2dc
1
/* PR tree-optimization/47140 */
2
3
static
inline
int
4
foo
(
int
x
,
short
y
)
5
{
6
return
y
==
0
?
x
:
x
+
y
;
7
}
8
9
static
inline
unsigned short
10
bar
(
unsigned short
x
,
unsigned char
y
)
11
{
12
return
x
-
y
;
13
}
14
15
int
w
;
16
17
int
baz
(
void
);
18
19
int
20
test
(
void
)
21
{
22
int
i
;
23
for
(
i
=
0
;
i
<
50
;
i
++)
24
w
+=
foo
((
unsigned char
) (
1
+
baz
()) >=
bar
(
0
,
1
),
0
);
25
}