This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Introduce new typedefs: const_tree, const_rtx, etc.
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Aug 2006 17:55:29 -0700
- Subject: Re: Introduce new typedefs: const_tree, const_rtx, etc.
- References: <200608112230.k7BMU7Rj019614@caipclassic.rutgers.edu>
Kaveh R. Ghazi wrote:
> I'd like to introduce auxiliary const typedefs that parallel existing
> core types in GCC. This will allow us to constify various things,
> mainly function parameters that currently take a plain tree, rtx, etc.
>
> Okay for mainline stage1 ?
>
> Also, there's a lot of monotonous work propagating these types through
> the sources. Anyone want to preapprove constification patches?
> They're all "obvious" changes anyway, except that in aggregate they're
> pretty big.
This kind of change is so massive across the source base that it will
disrupt almost all work currently being done on branches. Therefore, I
will pre-approve this change and the follow-on patches to use the types
for stage *2*. However, even at this point, please make sure that we
have flushed the outstanding branch patches for the next release before
applying. I agree that this change is an improvement, but it would be
bad for a change of this nature to interfere with the contribution of
important new technology.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713