Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/deleted-label1.C

raw
1 // PR debug/58315
2 // { dg-options "-O -g -fdump-tree-einline" }
3 // { dg-final { scan-tree-dump-not "DEBUG <L0>" "einline" } }
4
5 // We used to emit useless NOTE_INSN_DELETED_DEBUG_LABELs for the
6 // artificial cdtor_label.
7
8 struct A
9 {
10 ~A() {}
11 };
12
13 struct B: A {};
14
15 int main()
16 {
17 A a;
18 }