r245853 - in /trunk/gcc: cp/ChangeLog cp/init.c...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu Mar 2 21:31:00 GMT 2017
Author: jakub
Date: Thu Mar 2 21:31:40 2017
New Revision: 245853
URL: https://gcc.gnu.org/viewcvs?rev=245853&root=gcc&view=rev
Log:
PR c++/79782
* init.c (mark_exp_read_r): New function.
(emit_mem_initializers): Use cp_walk_tree with mark_exp_read_r on
whole arguments instead of plain mark_exp_read on TREE_LIST values.
* g++.dg/warn/Wunused-parm-10.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wunused-parm-10.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list