This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]