Bug report. Clang sqrtl(-1) causes access violation

Sam Habiel sam.habiel@gmail.com
Fri May 10 13:38:00 GMT 2019


Wow I can't believe that The Agner Fog posted on the Cygwin mailing list!

https://www.agner.org/

On Fri, May 10, 2019 at 8:58 AM Agner Fog <agner@agner.org> wrote:
>
> Bug description:
>
> The sqrtl function under Clang causes an access violation when the
> argument is negative.
>
> This error occurs only under Cygwin.
>
> This error occurs only with the sqrtl function, not with sqrt or sqrtf
>
> Attached:
>
> sqrt.cpp: program to reproduce the error. Compile clang sqrt.cpp and run
> ./a.exe
>
> stackdump
>
> cygcheck.out
>
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list