* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / reload1.C
blob6358955866858e5d8aaf516883562ac0a0ddd94c
1 // { dg-do run  }
2 extern "C" void abort ();
4 struct A {
5   unsigned long long u;
6 } *a;
8 struct B {
9   unsigned long long v;
10   unsigned long long w ()
11   {
12     return a->u - v;
13   }
14 } b;
16 struct C {
17   static unsigned long long x;
18   static void y (unsigned long long z);
21 unsigned long long C::x = 0;
23 int main ()
25   a = new A;
26   b.v = 333418;
27   a->u = 1132270;
28   C::x = 0;
29   C::y (799016);
32 void foo (unsigned long long a, unsigned long long b, unsigned long long c)
36 void C::y (unsigned long long z)
38   unsigned long long c = b.w () - x;
39   if (z < b.w ())
40     {
41       if ((long long) c < 0)
42         {
43           foo (b.w (), a->u, b.v);
44           abort ();
45         }
46     }