1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* PR middle-end/17024 */ /* { dg-do compile } */ /* { dg-options "-funsafe-math-optimizations" } */ #define MAX2(a,b) (((a)>(b)) ? (a) : (b)) void C(double); void i(int k) { double c[1]; C(MAX2(0.,c[k])); return; }