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: [tree-ssa] Organization of tree-ssa optimization passes


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


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