re PR c++/78550 (bit field and std::initializer_list)
authorNathan Sidwell <nathan@gcc.gnu.org>
Fri, 9 Dec 2016 12:18:36 +0000 (12:18 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 9 Dec 2016 12:18:36 +0000 (12:18 +0000)
commit32913637718983cf04b8225ee778d5e96ae71d7c
tree2e55f013560430187cd9f24a7fddc5304d96720f
parent345bd7ebbb38f0e1d5acf33ab3f680111cfa7871
re PR c++/78550 (bit field and std::initializer_list)

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.

From-SVN: r243479
gcc/ChangeLog
gcc/convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr78550.C [new file with mode: 0644]