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
/
20060419-1.c
blob
dc346ae02a1a8097a897a28acd7939e2cbce9558
1
/* This failed because if conversion didn't handle insv patterns properly. */
2
3
union
y
4
{
5
int
a
;
6
unsigned short
b
;
7
};
8
9
extern
void
bar
(
unsigned short
u
,
union
y v
);
10
11
void
12
foo
(
int
check
)
13
{
14
union
y x
;
15
16
if
(
check
!=
0
)
17
x
.
b
=
1
;
18
else
19
x
.
b
=
2
;
20
bar
(
x
.
b
,
x
);
21
}