OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2011-03-01 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr47924_0.c
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;
12
13
*p = 0;
14
15
if (i == 0)
16
link_error ();
17
18
return 0;
19
}