[Bug c++/87724] gcc allows narrowing conversions in converted constant expressions

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 24 10:53:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |SUSPENDED
   Last reconfirmed|                            |2018-10-24
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
CWG has been discussing this and the consensus seems to be that both examples
are OK. We certainly shouldn't make any change to GCC until CWG makes a final
decision.


More information about the Gcc-bugs mailing list