1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* PR target/52006 */ /* { dg-do compile } */ /* { dg-options "-march=armv7-a -mfloat-abi=hard -O2 -fPIC" } */ unsigned long a; static int b; void foo (void) { asm volatile ("" : "=r" (b)); } void bar (float f) { if (f < b / 100.0) a = 1; }