blob: 26f958fb546969eb597a0a3f3f423d867f10d2b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-O -ffinite-math-only -fdump-tree-optimized" } */
float foo(float x, float y, float z)
{
float a = __builtin_fmaf (x, y, z);
float b = __builtin_fmaf (x, y, z);
return a - b;
}
/* { dg-final { scan-tree-dump "return 0" "optimized" } } */
|