Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
store-merging-3.C
blob: e3c72ab7407398a915010b84180737d19f301c2a [
file
] [
log
] [
blame
]
// PR target/92038
// { dg-do compile }
// { dg-options "-O2 -flifetime-dse=2" }
struct
A
{
A
(
int
);
int
a
;
};
struct
B
{
B
()
:
b
(
0
)
{}
A b
;
};
struct
C
{
C
()
:
c
()
{}
bool
c
;
B d
;
};
void
foo
()
{
C d
;
}