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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
flifetime-dse6.C
blob
6c805586252af9ae09f84987a86d59d520fd0746
1
// PR c++/70272
2
// { dg-options -O2 }
3
// { dg-do run }
4
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;
11
}