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
libcpp: Fix overly large buffer allocation
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr47290.C
blob
b739de5b749ae6a30802efc6a612aadf64dc2cf1
1
// PR tree-optimization/47290
2
// { dg-do compile }
3
4
struct V
5
{
6
V (int = 0);
7
~V ()
8
{
9
for (;;)
10
;
11
}
12
int size ();
13
};
14
15
struct S
16
{
17
V a, b;
18
S () : b (a.size ()) {}
19
} s;