Re: Fix libgfortran FMA3/FMA4 tests

2017-05-28 Thread Thomas Koenig
Hi Rainer, It turns out that the FMA3 and FMA4 tests in acinclude.m4 don't test what they claim to: if one compiles the test program float flt_mul_add (float a, float b, float c) { return __builtin_fmaf (a, b, c); } with -O2 -mfma -mno-fma4 (FMA3) resp. -O2 -mfma4 -mno-fma (FMA4), bot

Fix libgfortran FMA3/FMA4 tests

2017-05-28 Thread Rainer Orth
ective_target_fma in gcc.target/i386/i386.exp. (LIBGFOR_CHECK_FMA4): Use test from check_effective_target_fma4. * configure: Regenerate. # HG changeset patch # Parent 743cb41a74816da876222b6da785fdf5f3fc2efb Fix libgfortran FMA3/FMA4 tests diff --git a/libgfortran/acinclude.m4 b/libgfortran/acin