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: Reorder some tree codes


Daniel Berlin wrote:

I also think that having the endpoints explicitly delineated in tree.def would solve the problem of people reordering the codes without noticing it might break things.

Yes; that suggests a path forward if (a) the compiler cannot already do the optimization, and (b) it's not easy to add that. We can add a DEFTREEEQUIV(X, Y) macro to create the endpoint enums, and put that in tree.def.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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