[Bug c++/85240] [6/7 Regression] ICE with function without deduced return type

2018-10-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85240

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|6.5 |7.4

--- Comment #2 from Jakub Jelinek  ---
GCC 6 branch is being closed

[Bug c++/85240] [6/7 Regression] ICE with function without deduced return type

2018-04-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85240

--- Comment #1 from Jason Merrill  ---
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