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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr66705_0.C
blob
faf3f2d24c40ba4213ed5bfd8ebc1f422dcae907
1
// { dg-lto-do link }
2
// { dg-lto-options { { -O2 -flto -flto-partition=max -fipa-pta } } }
3
// { dg-extra-ld-options "-r -nostdlib" }
4
5
class A {
6
public:
7
A();
8
};
9
int a = 0;
10
void foo() {
11
a = 0;
12
A b;
13
for (; a;)
14
;
15
}