re PR c++/65340 ([C++14]ICE in mark_used, at decl2.c:5040)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 18 Mar 2015 10:31:24 +0000 (10:31 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 18 Mar 2015 10:31:24 +0000 (10:31 +0000)
commit41cee85a347099bbd151f46cc55f8974970624ba
tree819d3cb9a40bb8851300051de452f6e65fefc204
parent4d1de54341f3d58260b7b11fabb95a0c5cd0e0b7
re PR c++/65340 ([C++14]ICE in mark_used, at decl2.c:5040)

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.

From-SVN: r221483
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]