1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* { dg-do compile } */ /* { dg-options "-Wunused" } */ int f1 (void) { int c = ({ int a; a = 1; a; }); return c; } void f2 (void) { int f; f = 0; __asm__ __volatile__ ("" : "+r" (f)); }