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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr58346.c
blob
b7940f6cf4d3cc51b96613e06b06cd23006260ce
1
/* PR tree-optimization/58346 */
2
/* { dg-do compile } */
3
/* { dg-options "-O" } */
4
5
struct
U
{};
6
static struct
U b
[
1
] = { };
7
extern
void
bar
(
struct
U
);
8
9
void
10
foo
(
void
)
11
{
12
bar
(
b
[
0
]);
13
}
14
15
void
16
baz
(
void
)
17
{
18
foo
();
19
}