https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65801
--- Comment #21 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Apr 30 16:31:36 2015 New Revision: 222636 URL: https://gcc.gnu.org/viewcvs?rev=222636&root=gcc&view=rev Log: /cp 2015-04-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/65801 * typeck2.c (check_narrowing): In C++11 mode too, -Wno-narrowing suppresses the diagnostic. 2015-04-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/65801 * doc/invoke.texi ([-Wnarrowing]): Update. /testsuite 2015-04-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/65801 * g++.dg/cpp0x/Wnarrowing2.C: New. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/typeck2.c branches/gcc-5-branch/gcc/doc/invoke.texi branches/gcc-5-branch/gcc/testsuite/ChangeLog