re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short unsigned...
authorJason Merrill <jason@redhat.com>
Mon, 8 Aug 2011 14:36:22 +0000 (10:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 8 Aug 2011 14:36:22 +0000 (10:36 -0400)
commitd7cfa3145fc72f621ab2747df2f7bf046c0ee4db
tree89d2781b8b09ceac34f65bfff320ff2fe2c3cc96
parentcca2207a2dedd90d904e15094e02df0529daacd0
re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing])

PR c++/50011
* typeck2.c (check_narrowing): Fix integer logic.

From-SVN: r177565
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist5.C