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
PR c++/37276
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr43557-1.c
blob
5ba467d01c3743854df87c5a49f621d71b0e1404
1
/* PR debug/43557 */
2
/* { dg-do link } */
3
/* { dg-require-effective-target lto } */
4
/* { dg-options "-flto -g -O2" } */
5
/* { dg-additional-sources "pr43557-2.c" } */
6
7
struct
S
8
{
9
int
v
;
10
}
g
;
11
12
void
13
f1
(
void
)
14
{
15
struct
S
*
s
= &
g
;
16
s
->
v
=
0
;
17
}
18
19
int
main
() {
return
0
; }