]> gcc.gnu.org Git - gcc.git/commit
PR c++/85963 - -Wunused-but-set with ?: in template.
authorJason Merrill <jason@redhat.com>
Mon, 11 Jun 2018 21:49:30 +0000 (17:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Jun 2018 21:49:30 +0000 (17:49 -0400)
commitc7e2d7adf0822ea58ca3d6e86fdc06572088f986
tree6b81eb9e289a0a562fcd8df80cef13ec5792d1c3
parent8731c0fbbd9be59e0e8165ec6ad800c79ac46e2a
PR c++/85963 - -Wunused-but-set with ?: in template.

* pt.c (tsubst_copy_and_build) [COND_EXPR]: Call mark_rvalue_use.

From-SVN: r261458
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/warn/Wunused-var-34.C [new file with mode: 0644]
This page took 0.056023 seconds and 5 git commands to generate.