Web lists-archives.com

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




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 <agner@xxxxxxxxx> 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
> 
This was my first thought too :-)



--
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