/cp
commitde6c153daeeaacfc76c7c8f1a1a317352624f0a0
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Feb 2018 18:54:39 +0000 (8 18:54 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Feb 2018 18:54:39 +0000 (8 18:54 +0000)
treeee74a0c7ce2eacceafb4337723bb831769dc7ce6
parent75b370cd036e10dc566e4fa52d2c3a67ee2ff522
/cp
2018-02-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/83806
* typeck.c (decay_conversion): Use mark_rvalue_use for the special
case of nullptr too.

/testsuite
2018-02-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/83806
* g++.dg/warn/Wunused-parm-11.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257502 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunused-parm-11.C [new file with mode: 0644]