This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36963] [4.4 Regression] Bogus narrowing conversion error in initializer list.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]