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 libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr47924_0.c
blob
1cecc3e8714dee765eaa60d18ebd7fb57392b541
1
/* { dg-lto-do link } */
2
/* { dg-lto-options {{-O2 -flto}} } */
3
4
extern
void
link_error
(
void
);
5
short
*
p
__attribute__
((
used
));
6
int
i
__attribute__
((
used
));
7
8
int
main
()
9
{
10
if
(
i
==
0
)
11
return
0
;
12
13
*
p
=
0
;
14
15
if
(
i
==
0
)
16
link_error
();
17
18
return
0
;
19
}