* Re: [Bug fortran/31202] Incorrect rounding generated for NINT
[not found] <Pine.GSO.4.60.0708051516540.23124@igloo.df.lth.se>
@ 2007-08-05 22:17 ` FX Coudert
0 siblings, 0 replies; only message in thread
From: FX Coudert @ 2007-08-05 22:17 UTC (permalink / raw)
To: Krister Walfridsson; +Cc: fxcoudert, gcc-patches list
>> Well, we'll see if I broke any non-C99 target :)
>
> Yes, you did. :)
>
> NetBSD does not have lroundl (and not roundl, so lroundl is not
> added by
> intrinsics/c99_functions.c) with the result that linking with
> libgfortran
> fails with "undefined reference to `lroundl'".
I've committed a fix as rev. 127227, adding a fallback implentation
to the fallback implentation of roundl (by adding 0.5 and using a
cast to an integer). Tested on i686-cygwin, where the same kind of
failure was observed, by Jerry Delisle.
Let me know if this fix somehow does not improve the situation for you.
Thanks again for the report,
FX
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-05 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pine.GSO.4.60.0708051516540.23124@igloo.df.lth.se>
2007-08-05 22:17 ` [Bug fortran/31202] Incorrect rounding generated for NINT FX Coudert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).