This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80356] [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6827
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Apr 2017 05:39:37 +0000
- Subject: [Bug c++/80356] [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6827
- Auto-submitted: auto-generated
- References: <bug-80356-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80356
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Apr 9 05:38:40 2017
New Revision: 246794
URL: https://gcc.gnu.org/viewcvs?rev=246794&root=gcc&view=rev
Log:
PR c++/80356 - ICE with reference to function template argument.
PR c++/79294
* pt.c (convert_nontype_argument_function): Adjust type even with a
value-dependent argument.
Added:
trunk/gcc/testsuite/g++.dg/template/fn-ref1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c