1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* { dg-do compile } */ /* { dg-options "-O2" } */ extern inline float bar (float x) { register long double value; asm volatile ("frndint" : "=t" (value) : "0" (x)); return value; } float a; float foo (float b) { return a + bar (b); }