This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37288] ICE using auto as function return type or parameter
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2008 23:14:06 -0000
- Subject: [Bug c++/37288] ICE using auto as function return type or parameter
- References: <bug-37288-14909@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jason at gcc dot gnu dot org 2008-08-30 23:14 -------
Subject: Bug 37288
Author: jason
Date: Sat Aug 30 23:12:45 2008
New Revision: 139811
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139811
Log:
PR c++/37288
* pt.c (dependent_type_p): Don't abort on auto outside of a template.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37288