* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tm / attrib-3.C
blob43fc2207d78725c1145dc3c2038362b94ae34040
1 // { dg-do compile }
2 // { dg-options "-fgnu-tm -fdump-tree-optimized-asmname" }
4 struct __attribute__((transaction_safe)) A
6 };
8 struct B : public A
10   void f();
13 struct C
17 struct D : public C
21 struct E : public D, public A
23   void f();
26 void B::f() { }
27 void E::f() { }
29 // { dg-final { scan-tree-dump-times "_ZN1B1fEv" 1 "optimized" } }
30 // { dg-final { scan-tree-dump-times "_ZGTtN1B1fEv" 1 "optimized" } }
31 // { dg-final { scan-tree-dump-times "_ZN1E1fEv" 1 "optimized" } }
32 // { dg-final { scan-tree-dump-times "_ZGTtN1E1fEv" 1 "optimized" } }