* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tls / init-2.C
blob327c309e98584e5b22a88fb63c026b8a2ab1f6bf
1 /* Invalid initializations.  */
2 /* { dg-require-effective-target tls } */
4 extern __thread int i;
5 __thread int *p = &i;   /* { dg-error "dynamic initialization" } */
7 extern int f();
8 __thread int j = f();   /* { dg-error "dynamic initialization" } */
10 struct S
12   S();
14 __thread S s;           /* { dg-error "dynamic initialization" } */