re PR c++/53661 (Wrong narrowing conversion warning with -std=c++11)
authorJason Merrill <jason@redhat.com>
Mon, 17 Sep 2012 16:06:03 +0000 (12:06 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Sep 2012 16:06:03 +0000 (12:06 -0400)
commit5e23183b939c78a747502e45c63b2271ace49eb0
treea8916e748bdf9ead6ef56f79d4e070c22ce1ac47
parentf57f20bb753e877d9285fd75dd6b46fa244bb27f
re PR c++/53661 (Wrong narrowing conversion warning with -std=c++11)

PR c++/53661
* typeck2.c (check_narrowing): Avoid false positives on conversion
from enumeral type.

From-SVN: r191395
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/aggr9.C [new file with mode: 0644]