[llvm-bugs] [Bug 11913] error in backend: Cannot select: 0x9fcdbe8: f80 = ConstantFP<APFloat()> [ID=12]

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 21 13:58:10 PST 2019


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com

--- Comment #4 from Reid Kleckner <rnk at google.com> ---
Clang rejects that code as invalid:

$ clang -S t.c -o - -std=c99
t.c:3:5: error: width of anonymous bit-field (3 bits) exceeds width of its type
(1 bit)
    _Bool : 3;
    ^
t.c:4:11: error: width of bit-field 'b' (3 bits) exceeds width of its type (1
bit)
    _Bool b : 3;
          ^
2 errors generated.

-- 
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/20190221/42bf8f83/attachment.html>


More information about the llvm-bugs mailing list