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
2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
pr48195.c
blob
2e38452d59880ab578ca131a762a75bf7deb05b5
1
/* { dg-do link } */
2
/* { dg-options "-O2 -flto --param partial-inlining-entry-probability=101" } */
3
/* { dg-require-effective-target lto } */
4
5
extern
void
abort
(
void
);
6
7
int
i
;
8
9
void
__attribute__
((
constructor
))
10
c2
()
11
{
12
if
(
i
)
13
abort
();
14
}
15
16
void
__attribute__
((
destructor
))
17
d1
()
18
{
19
if
(
i
)
20
abort
();
21
}
22
23
void
main
()
24
{
25
}