This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Organization of tree-ssa optimization passes
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 4 Dec 2003 09:40:50 +0100
- Subject: Re: [tree-ssa] Organization of tree-ssa optimization passes
- References: <20031127014119.GA1165@atrey.karlin.mff.cuni.cz> <20031204013640.GA11381@redhat.com>
Hello,
> > currently the information about the order of tree-ssa passes needs to be
> > synchronized on three places (tree.h, tree-dump.c, tree-optimize.c); I
> > believe it is a better idea to have this just on a single place, so that
> > things like changing the order of passes or adding a new pass are
> > easier.
>
> The thing that I do not like about this is that it's all macro based.
> I completely disbelieve that this is necessary. Only the existing
> poor structure of the current code leads you to believe that it is.
probably not neccessary, but easier and more flexible. What exactly you
dislike on macros (i.e. what advantage would the solution with
array of structures you propose) have?
Zdenek