[Bug c++/27496] ICE on broken templated friend
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 15 08:53:00 GMT 2006
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-05-15 08:52 -------
Subject: Bug 27496
Author: reichelt
Date: Mon May 15 08:52:29 2006
New Revision: 113776
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113776
Log:
PR c++/27496
* pt.c (tsubst_friend_class): Return early on invalid friend
declarations.
* g++.dg/template/void2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/void2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27496
More information about the Gcc-bugs
mailing list