[Bug c++/61465] Bogus parameter set but not used warning in constructor initialization list
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 18:47:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61465
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 22 18:47:16 2014
New Revision: 215476
URL: https://gcc.gnu.org/viewcvs?rev=215476&root=gcc&view=rev
Log:
PR c++/61465
* call.c (convert_like_real) [ck_identity]: Call mark_rvalue_use
after pulling out an element from a CONSTRUCTOR.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/warn/Wunused-parm-6.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/call.c
More information about the Gcc-bugs
mailing list