[LLVMbugs] [Bug 4873] New: Infinite loop in APFloat::convertFromDecimalString() around APFloat.cpp:2378
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Sep 3 05:45:32 PDT 2009
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: unassignedbugs at nondot.org
ReportedBy: d.g.gorbachev at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list