2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / gimplefe-26.c
blobbc2f3b1d4caed1ce4fb50172b953317a7e758645
1 /* { dg-do compile { target c99_runtime } } */
2 /* { dg-options "-O -fgimple -fdump-tree-ssa-gimple" } */
4 #define foo(type, num) \
5 type __GIMPLE () foo_##num (type a, type b, type c) \
6 { \
7 type t0; \
8 t0_1 = __FMA (a, b, c); \
9 return t0_1; \
12 foo(float, 1)
13 foo(double, 2)
14 foo(long double, 3)
16 /* { dg-final { scan-tree-dump-times "__FMA" 3 "ssa" } } */