re PR c++/45378 ([C++0x] Narrowing error not detected)
authorJason Merrill <jason@redhat.com>
Thu, 16 Jun 2011 22:09:20 +0000 (18:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 16 Jun 2011 22:09:20 +0000 (18:09 -0400)
commitfa54bbb75d70055628f966d59570256649fa3fdb
tree402806f8ef758715dcce7e30d82a4bf585fabd0e
parent8787a05aaa4047eacd3d90ce8c1d9359747da4d2
re PR c++/45378 ([C++0x] Narrowing error not detected)

PR c++/45378
* decl.c (check_initializer): Check narrowing.

From-SVN: r175122
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist52.C [new file with mode: 0644]