This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r253495 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 06 Oct 2017 15:50:51 -0000
- Subject: r253495 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
Author: jakub
Date: Fri Oct 6 15:50:50 2017
New Revision: 253495
URL: https://gcc.gnu.org/viewcvs?rev=253495&root=gcc&view=rev
Log:
PR c++/82299
* decl.c (reshape_init): Suppress warn_useless_cast for direct enum
init.
* typeck.c (convert_for_assignment): Likewise.
* g++.dg/cpp0x/pr82299.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr82299.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog