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

Franz Fehringer fehrin2@gmail.com
Fri May 10 14:04:00 GMT 2019


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



More information about the Cygwin mailing list