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 #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Dec  9 14:04:53 2016
New Revision: 243484

URL: https://gcc.gnu.org/viewcvs?rev=243484&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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/pr78550.C
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/convert.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

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