Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr69574.c
blob: feaac24043bb3e5b2eb43da03d982fd04b409042 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
typedef
unsigned
mytype
;
struct
S
{
mytype
*
pu
;
};
mytype f
(
struct
S
*
e
)
{
mytype x
;
if
(&
x
!=
e
->
pu
)
__builtin_memcpy
(&
x
,
e
->
pu
,
sizeof
(
unsigned
));
return
x
;
}