bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25057] Fails to build binutils-2.31.1 using clang-8.0.0


From: jason at redhat dot com
Subject: [Bug binutils/25057] Fails to build binutils-2.31.1 using clang-8.0.0
Date: Thu, 03 Oct 2019 17:45:02 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25057

Jason Merrill <jason at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com

--- Comment #2 from Jason Merrill <jason at redhat dot com> ---
(In reply to Alan Modra from comment #1)
> case labels are integral constant
> expressions that are implicitly converted to the type of switch condition,
> which is unsigned int here.

Agreed.  [stmt.switch]

"...the constant-expression shall be a converted constant expression (5.19) of
the promoted type of the switch condition."

so there's no narrowing to int.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]