2015-03-18 Paolo Carlini <paolo.carlini@oracle.com>
commit9550983d634587ec9632c90a83ad3713dbf7068d
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Mar 2015 10:31:24 +0000 (18 10:31 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Mar 2015 10:31:24 +0000 (18 10:31 +0000)
tree819d3cb9a40bb8851300051de452f6e65fefc204
parent4555176902c658dbb292378c1c546576f9f1b313
2015-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/65340
* call.c (build_over_call): Pass the tsubst_flags_t argument to
mark_used.
* decl2.c (mark_used): Inline the require_deduced_type call and
guard the error call.

2015-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/65340
* g++.dg/cpp1y/pr65340.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221483 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr65340.C [new file with mode: 0644]