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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is by design. Use -pedantic-errors. 

Gcc defaults narrowing to be a warning and you either need pedantic-errors or
-Werror=Wnarrowing.

Reply via email to