This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix tree node sharing problem (1/2)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 03 Dec 2006 19:45:21 -0800
- Subject: Re: [PATCH] Fix tree node sharing problem (1/2)
- References: <200611290927.03038.ebotcazou@adacore.com>
Eric Botcazou wrote:
> 2006-11-29 Eric Botcazou <ebotcazou@adacore.com>
>
> * tree.c (walk_type_fields): Do not handle TYPE_MIN_VALUE and
> TYPE_MAX_VALUE for scalar types here but...
> (walk_tree): ...there instead. Return NULL_TREE if the TYPE_DECL
> is attached an error mark, and the return value of the callback
> if it is not NULL_TREE.
> cp/
> * pt.c (for_each_template_parm_r) <INTEGER_TYPE>: New case.
> Call for_each_template_parm on TYPE_MIN_VALUE and TYPE_MAX_VALUE.
OK, thanks.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713