Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
pr57358.c
blob: c83396f4c0bd1e833dc937dfac88d742f3b79b20 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
struct
t
{
void
(*
func
)(
void
*);
};
void
test_func
(
struct
t
*
a
)
__attribute__
((
optimize
(
"O0"
)));
void
test_func
(
struct
t
*
a
)
{
a
->
func
(
0
);
}