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++/31132] [4.1/4.2/4.3 regression] ICE on inconsistent friend declaration



------- Comment #3 from paolo at gcc dot gnu dot org  2007-08-16 09:05 -------
Subject: Bug 31132

Author: paolo
Date: Thu Aug 16 09:05:17 2007
New Revision: 127535

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127535
Log:
/cp
2007-08-16  Paolo Carlini  <pcarlini@suse.de>

        PR c++/31132
        * pt.c (tsubst_friend_function): When check_classfn
        returns error_mark_node likewise return it.

/testsuite
2007-08-16  Paolo Carlini  <pcarlini@suse.de>

        PR c++/31132
        * g++.dg/template/crash69.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash69.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31132


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