[libgfortran,patch] Use type-generic built-ins in float I/O routines
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Aug 24 16:15:00 GMT 2015
On Mon, Aug 24, 2015 at 05:36:06PM +0200, FX wrote:
> This patch makes us use type-generic built-ins for isfinite(), isnan(), and signbit(), through their ???safe??? definitions in libgfortran.h, rather than manually handle the suffixed variants (isfinitef/isfinite/isfinitel/finiteq, and the like). This reverses the patch that originally introduced this suffix handling (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57496), because the built-ins have since been made type-generic in the C front-end (the last one last week, by me).
>
> This is an improvement in code readability and size, and might also yield minor performance gains: the built-ins are expanded inline, rather than requiring a function call.
>
> Bootstrapped and regtested on x86_64-apple-darwin15.
> OK to commit to trunk?
OK. Thanks.
--
Steve
More information about the Fortran
mailing list