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++/78550] [6/7 Regression] bit field and std::initializer_list


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78550

--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Dec  9 12:18:36 2016
New Revision: 243479

URL: https://gcc.gnu.org/viewcvs?rev=243479&root=gcc&view=rev
Log:
        PR c++/78550
        * convert.c (convert_to_integer_1): Maybe fold conversions to
        integral types with fewer bits than its mode.

        testsuite/
        PR c++/78550
        * g++.dg/cpp1y/pr78550.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr78550.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/convert.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]