☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr22404.C
☽
☼
gcc/testsuite/g++.dg/tree-ssa/pr22404.C
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
/* We were not getting the offset of a in B and a in C::B correct,
5
causing an abort. */
6
struct A { A(); };
7
8
struct B : A
9
{
10
A a;
11
};
12
13
struct C : B { };
14
15
C c;