------- Comment #7 from jason at gcc dot gnu dot org 2008-08-04 19:55 ------- Subject: Bug 36963
Author: jason Date: Mon Aug 4 19:53:57 2008 New Revision: 138652 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138652 Log: PR c++/36963 * typeck2.c (check_narrowing): Allow narrowing conversion from an explicit floating-point constant. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck2.c trunk/gcc/testsuite/g++.dg/cpp0x/initlist5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36963