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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
goto1.C
blob
b0a0c5253b6406dba2e90b4ce50d61007f10926e
1
// PR c++/14724
2
// { dg-do run }
3
4
int j;
5
6
template <class T>
7
struct C {
8
C() { ++j; }
9
~C() { --j; }
10
};
11
12
int main(int, char **) {
13
{
14
int i = 0;
15
again:
16
C<int> v;
17
if (++i < 10)
18
goto again;
19
}
20
21
return j;
22
}
23