* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / flifetime-dse6.C
blob6c805586252af9ae09f84987a86d59d520fd0746
1 // PR c++/70272
2 // { dg-options -O2 }
3 // { dg-do run }
5 struct Empty { };
6 struct A { A() : a(true) { } bool a; ~A() { if (!a) __builtin_abort(); } };
7 struct B : Empty { B() : Empty() { } ~B() { } };
8 struct C : A, B { C() : A(), B() { } ~C() { } };
9 int main() {
10   C c;