This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85240] [6/7 Regression] ICE with function without deduced return type
- 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: Fri, 06 Apr 2018 15:13:00 +0000
- Subject: [Bug c++/85240] [6/7 Regression] ICE with function without deduced return type
- Auto-submitted: auto-generated
- References: <bug-85240-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85240
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Apr 6 15:12:28 2018
New Revision: 259177
URL: https://gcc.gnu.org/viewcvs?rev=259177&root=gcc&view=rev
Log:
PR c++/85240 - LTO ICE with using of undeduced auto fn.
* cp-gimplify.c (cp_genericize_r): Discard using of undeduced auto.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn51.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c