[PATCH] Fix math transformation on targets without c99 math functions
Joseph Myers
joseph@codesourcery.com
Wed Dec 30 23:46:00 GMT 2015
On Mon, 28 Dec 2015, John David Anglin wrote:
> The attach change fixes PR middle-end/68743 on hppa*-*-hpux*. In compiling
> c99_functions.c in libgfortran, floor ((double)x) was transformed to floorf(x) but
> floorf is not available on hppa*-*-hpux*. The change simply adds a libc_has_function
> check to prevent the transformation.
These are real functions, not complex. I think you want to use
function_c99_misc, not function_c99_complex.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list