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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr19108.C
blob
206a2bc382bf5c0281a1fdf5877f27654a384f6f
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();