https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83919
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Jan 19 22:35:09 2018 New Revision: 256903 URL: https://gcc.gnu.org/viewcvs?rev=256903&root=gcc&view=rev Log: PR c++/83919 * typeck.c (convert_for_assignment): Suppress warn_ignored_qualifiers for direct enum init. * decl.c (reshape_init): Likewise. * g++.dg/cpp0x/pr83919.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr83919.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog