This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65340] [5 Regression] [C++14]ICE in mark_used, at decl2.c:5040
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Mar 2015 10:31:56 +0000
- Subject: [Bug c++/65340] [5 Regression] [C++14]ICE in mark_used, at decl2.c:5040
- Auto-submitted: auto-generated
- References: <bug-65340-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65340
--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Mar 18 10:31:24 2015
New Revision: 221483
URL: https://gcc.gnu.org/viewcvs?rev=221483&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr65340.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog