This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ patch] remove unreachable code
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: "James A. Morrison" <ja2morri at csclub dot uwaterloo dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Jul 2004 09:12:02 +0100
- Subject: Re: [C++ patch] remove unreachable code
- Organization: Codesourcery LLC
- References: <40F78C4F.6000808@codesourcery.com> <kfh4qo7lvbe.fsf@csclub.uwaterloo.ca>
James A. Morrison wrote:
Nathan Sidwell <nathan@codesourcery.com> writes:
case TREE_BINFO:
! /* We should never be tsubsting a binfo. */
! abort ();
I'm having trouble parsing this comment. Is there a better way to\
write this comment?
you know, you're the second person to query that comment. All I can say is
that tsubst is used as a verb throughout pt.c, (so much so that it took
me two goes to figure out what the first query was about). It refers to
a specific action within g++'s template machinery. If you don't understand
that, then you fail to grok pt.c in exactly the same way a non-hacker
fails to grok this sentance.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk