1 2 3 4 5 6 7 8 9 10 11 12
/* PR middle-end/23470 */ /* { dg-do compile } */ /* { dg-options "-O2 -ffast-math -fdump-tree-original" } */ int f(double a, double b) { if (((a*a) + (b*b))<0) link_error(); } /* { dg-final { scan-tree-dump-times "if \\(0\\)" 1 "original" } } */ /* { dg-final { cleanup-tree-dump "original" } } */