re PR c++/31132 (ICE on inconsistent friend declaration)
authorPaolo Carlini <pcarlini@suse.de>
Thu, 16 Aug 2007 09:05:17 +0000 (09:05 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 16 Aug 2007 09:05:17 +0000 (09:05 +0000)
commit684939cef5c8dee565d3711b720c45c5b6596b8a
tree9d4f15c1c05b834e3499da0b28b17620b4fc27ec
parentf0092c54c8dbbaeb8b34c99591b39415ad7e1442
re PR c++/31132 (ICE on inconsistent friend declaration)

/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.

From-SVN: r127535
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash69.C [new file with mode: 0644]