1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/* { dg-do compile } */ /* { dg-additional-options "-finline-functions" } */ int vh, it, k1; void vn (void) { ++vh; if (vh == 0 && it == 0) k1 = -k1; } __attribute__ ((returns_twice)) void ef (int *uw) { while (uw != (void *) 0) { vn (); *uw = 0; } } void gu (int *uw) { ef (uw); }