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: [C++ patch] remove unreachable code


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



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