[Bug c++/65322] Narrowing conversion

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 10:52:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65322

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
"b ? 1u : 0u" is not a constant expression, it depends on the variable b so the
value is not known until run-time.



More information about the Gcc-bugs mailing list