http://llvm.org/bugs/show_bug.cgi?id=4873
Summary: Infinite loop in APFloat::convertFromDecimalString()
around APFloat.cpp:2378
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
LLVM r80583, compiled with LLVM-GCC with -O3.
Test program:
int main(void)
{
llvm::APFloat af(0.0);
af.convertFromString(llvm::StringRef("2.71828", 7),
llvm::APFloat::rmNearestTiesToEven);
return 0;
}
"p" is incremented, then assigned back to the beginning of the string.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs