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++/48106] [C++0x] ICE with scoped enum with fixed underlying type


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-23 22:55:51 UTC ---
Author: jason
Date: Mon May 23 22:55:46 2011
New Revision: 174091

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174091
Log:
    PR c++/48106
    * c-common.c (c_common_get_narrower): New.
    (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/enum14.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog


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