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++/50011] [C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing]


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50011

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-08 14:36:27 UTC ---
Author: jason
Date: Mon Aug  8 14:36:22 2011
New Revision: 177565

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177565
Log:
    PR c++/50011
    * typeck2.c (check_narrowing): Fix integer logic.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist5.C


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