This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78550] [6/7 Regression] bit field and std::initializer_list
- From: "nathan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Dec 2016 12:19:08 +0000
- Subject: [Bug c++/78550] [6/7 Regression] bit field and std::initializer_list
- Auto-submitted: auto-generated
- References: <bug-78550-4@http.gcc.gnu.org/bugzilla/>
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