This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal
- 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, 27 Feb 2011 17:11:26 +0000
- Subject: [Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal
- Auto-submitted: auto-generated
- References: <bug-47904-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-02-27 17:11:22 UTC ---
Author: jason
Date: Sun Feb 27 17:11:19 2011
New Revision: 170544
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170544
Log:
PR c++/47904
* tree.c (cp_tree_equal) [PARM_DECL]: Don't crash on
DECL_ARTIFICIAL parms.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/this-targ1.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/tree.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog