Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr79043.c
blob: b7fcc8260dc30488c169f9b3c02c0b7fc01ceb3c [
file
] [
log
] [
blame
]
/* PR ipa/78791 */
int
val
;
int
*
ptr
=
&
val
;
float
*
ptr2
=
&
val
;
static
__attribute__
((
always_inline
,
optimize
(
"-fno-strict-aliasing"
)))
typepun
()
{
*
ptr2
=
0
;
}
main
()
{
*
ptr
=
1
;
typepun
();
if
(*
ptr
)
__builtin_abort
();
}