[LLVMdev] Buggy assertion in APFloat::convertFromHexadecimalString

Enea Zaffanella zaffanella at cs.unipr.it
Thu Aug 20 07:42:44 PDT 2009


Hello.

When running clang in Debug mode, I am getting an assertion failure when 
parsing the following line:

float ko = 0x1.1p0;

Apparently, the recent changes in the use of StringRef haven't been 
propagated to all places. Please find attached the trivial patch.

Cheers,
Enea Zaffanella.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: APFloat.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090820/6dde5d03/attachment.ksh>


More information about the llvm-dev mailing list