Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr47201.c
blob: 11e1f2ade3a3c7861708658aff181b55924c4091 [
file
] [
log
] [
blame
]
/* PR target/47201 */
/* { dg-do compile } */
/* { dg-options "-O -fpic -g" { target fpic } } */
union
U
{
__UINTPTR_TYPE__ m
;
float
d
;
}
u
;
int
foo
(
void
)
{
union
U v
=
{
(
__UINTPTR_TYPE__
)&
u
};
return
u
.
d
==
v
.
d
;
}