This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66786] [5/6 Regression] ICE: Segmentation fault
- From: "ppalka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Mar 2016 17:10:25 +0000
- Subject: [Bug c++/66786] [5/6 Regression] ICE: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-66786-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66786
--- Comment #8 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Mon Mar 7 17:09:53 2016
New Revision: 234038
URL: https://gcc.gnu.org/viewcvs?rev=234038&root=gcc&view=rev
Log:
Adjust fix for PR c++/66786
gcc/cp/ChangeLog:
PR c++/66786
* pt.c (get_template_info): Handle PARM_DECL.
(template_class_depth): Check DECL_P instead of
VAR_OR_FUNCTION_DECL_P.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c