This is the mail archive of the gcc-patches@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]

Re: [patch] Fix PR c++/26739: ICE on template redefinition as friend


Volker Reichelt wrote:

> 2006-04-18  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
> 
> 	PR c++/26739
> 	* pt.c (tsubst_friend_function): Return early if
> 	pushdecl_namespace_level fails.

This patch is OK.

I would modify the error markers in the test to mention a word from the
actual messages so that the ICE message no longer matches.  The old-deja
tests are actually dg tests too (after I converted them a few years
back), but with slightly different defaults; however, all the same
general principles apply.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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