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

2019-06-03 Thread Corinna Vinschen
On May 10 14:57, Agner Fog 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:

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

2019-05-10 Thread Jose Isaias Cabrera
Agner Fog, on Friday, May 10, 2019 04:55 PM, wrote... >$ uname -a >CYGWIN_NT-10.0 DESKTOP-08PNUTF 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64 >Cygwin > > >$ clang --version >clang version 5.0.1 (tags/RELEASE_501/final) >Target: x86_64-unknown-windows-cygnus >Thread model: posix >InstalledDir:

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

2019-05-10 Thread Agner Fog
$ uname -a CYGWIN_NT-10.0 DESKTOP-08PNUTF 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64 Cygwin $ clang --version clang version 5.0.1 (tags/RELEASE_501/final) Target: x86_64-unknown-windows-cygnus Thread model: posix InstalledDir: /usr/bin On 10/05/2019 21.54, Jose Isaias Cabrera wrote: Agner

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

2019-05-10 Thread Jose Isaias Cabrera
Agner Fog, on Friday, May 10, 2019 03:44 PM, wrote... > >On 10/05/2019 15.50, Jose Isaias Cabrera wrote: > >> It works for me. > >Now it turns out that all the long double math functions cause access >violations. > >If you can't reproduce the error, what can I do to trace it? > > >Exception:

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

2019-05-10 Thread Agner Fog
On 10/05/2019 15.50, Jose Isaias Cabrera wrote: It works for me. Now it turns out that all the long double math functions cause access violations. If you can't reproduce the error, what can I do to trace it? Exception: STATUS_ACCESS_VIOLATION at rip=00180173164 Sam Habiel wrote: Wow

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

2019-05-10 Thread Franz Fehringer
Am 10.05.2019 um 15:38 schrieb Sam Habiel: > 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 wrote: >> >> Bug description: >> >> The sqrtl function under Clang causes an access violation when the

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

2019-05-10 Thread Jose Isaias Cabrera
Agner Fog, on Friday, May 10, 2019 08:57 AM, 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 > It works for

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

2019-05-10 Thread Sam Habiel
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 wrote: > > Bug description: > > The sqrtl function under Clang causes an access violation when the > argument is negative. > > This error occurs only under