repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
pr57358.c
blob
c83396f4c0bd1e833dc937dfac88d742f3b79b20
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
struct
t
{
void
(*
func
)(
void
*); };
5
void
test_func
(
struct
t
*
a
)
__attribute__
((
optimize
(
"O0"
)));
6
void
test_func
(
struct
t
*
a
)
7
{
8
a
->
func
(
0
);
9
}