[LLVMbugs] [Bug 15723] Incorrect handling of out of bounds and strings starting from 0x
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Apr 13 10:09:10 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15723
Antony Polukhin <antoshkka at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #6 from Antony Polukhin <antoshkka at gmail.com> ---
(In reply to comment #5)
> Yes, tests 4-7 fail. In each case a value of inf is successfully read into
> ld.
Other STL implementations in that case report failure via returning true in
ss.fail().
And it is required by C++11 (22.4.2.1.2, step 3):
The numeric value to be stored can be one of:
...
— the most positive representable value, if the field represents a value too
large positive to be
represented in val. ios_base::failbit is assigned to err.
...
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130413/f72b5913/attachment.html>
More information about the llvm-bugs
mailing list