Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wstrict-aliasing-5.C
blob: a049251186585a1d86dd1084abc023ce80dbf9d9 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-Wstrict-aliasing=2 -O2" } */
float
foo
()
{
unsigned
int
MASK
=
0x80000000
;
return
(
float
&)
MASK
;
/* { dg-warning "strict-aliasing" } */
}