This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Attachment: a.exe.stackdump
Description: Text document

Attachment: cygcheck.out
Description: Text document

Attachment: sqrt.cpp
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]