[llvm-bugs] [Bug 26349] Digit separators as only characters in significand or exponent of floating point constants can trigger assertions

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 9 14:35:44 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26349

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Fixed in r260307.

<stdin>:1:15: error: hexadecimal floating constants require a significand
float f = 0x.'p1f;
              ^
<stdin>:2:12: error: exponent has no digits
float g = 0e'f;
           ^
<stdin>:3:14: error: exponent has no digits
float h = 0x0p'f;
             ^
<stdin>:4:14: error: exponent has no digits
float i = 0x1p'f;
             ^

-- 
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/20160209/89b29533/attachment.html>


More information about the llvm-bugs mailing list