Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
alias-1.c
blob: 666e96f968ac677aa27fb8c63ee30a724025263d [
file
] [
log
] [
blame
]
int
val
;
int
*
ptr
=
&
val
;
float
*
ptr2
=
&
val
;
__attribute__
((
optimize
(
"-fno-strict-aliasing"
)))
typepun
()
{
*
ptr2
=
0
;
}
main
()
{
*
ptr
=
1
;
typepun
();
if
(*
ptr
)
__builtin_abort
();
}