☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr19108.C
☽
☼
gcc/testsuite/g++.dg/opt/pr19108.C
code
plain
raw
1
// PR tree-optimization/19108
2
// This used to abort due to not handing RANGE_EXPR in SRA.
3
4
// { dg-do compile }
5
// { dg-options "-O" }
6
7
struct A
8
{
9
int i[6];
10
A () : i() {}
11
};
12
13
struct B
14
{
15
A a;
16
B(const A& x) : a(x) {}
17
};
18
19
B b=A();