re PR c++/69872 (-Wnarrowing note without warning/errror)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 24 May 2016 16:41:39 +0000 (16:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 24 May 2016 16:41:39 +0000 (16:41 +0000)
commit72f382fbb85a77a75e839077a7df59197799e2f4
tree4f9fbe543d45236309df3af03e28b466ef83a978
parentef2ec9d9a2c2d7380d2cf992db20cf8599fc0e3d
re PR c++/69872 (-Wnarrowing note without warning/errror)

/cp
2016-05-24  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/69872
* typeck2.c (check_narrowing): Check pedwarn return value.

/testsuite
2016-05-24  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/69872
* g++.dg/warn/Wno-narrowing1.C: New.

From-SVN: r236651
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wno-narrowing1.C [new file with mode: 0644]