This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question about DECL_RESULT macro
- To: Ira Ruben <ira at apple dot com>
- Subject: Re: Question about DECL_RESULT macro
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Sun, 01 Jul 2001 21:03:02 +0100
- CC: gcc at gcc dot gnu dot org
- Organization: Codesourcery LLC
- References: <p05100300b762adf2848d@[17.202.44.152]>
Ira Ruben wrote:
> However, the DECL_RESULT macro is defined (in tree.h) to do a
> FUNCTION_DECL_CHECK. That only checks for FUNCTION_DECL nodes and
> will fail for a TEMPLATE_DECL node. So, is the TEMPLATE_DECL comment
> wrong in cp/cp-tree.def for DECL_RESULT and should that just be
> DECL_TEMPLATE_RESULT instead?
The comment is wrong, can you provide a corrective patch?
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org