[R-SIG-Win] GCC 5.3.0 - sd(NA) = NaN?

Jeroen Ooms jeroenooms at gmail.com
Fri Mar 18 10:32:52 CET 2016


I found something similar a while back:
http://r.789695.n4.nabble.com/Optimization-bug-when-byte-compiling-with-gcc-5-2-0-on-windows-td4712220.html

IIRC the issue was diagnosed by Luke that there are a few workarounds
that currently use: #if __GNUC__ <= 4. However when changing that to
5, all kind of other problems appeared.



On Thu, Mar 17, 2016 at 6:34 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
> Hello.
>
> As an experiment, I tried compiling R with the mingw64 5.3.0 (posix-seh)
> build. R compiles smoothly, but make check fails pretty early as sd(NA)
> returns NaN instead of NA, which is a fatal error in the tests.I have no
> idea what may cause this, but thought it may be of interest to this group.
> I'd appreciate it if someone who understands why that happens would post a
> brief explanation.
>
> Thanks,
>
> Avi
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-windows mailing list
> R-SIG-windows at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-windows



More information about the R-SIG-windows mailing list