This is the mail archive of the gcc@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: Great example of why "everything is a tree" sucks


On Wed, Nov 13, 2013 at 5:10 AM, Richard Biener
<richard.guenther@gmail.com> wrote:

> Thus "fixing" trees would be far better as you'd win for both frontend
> and middle-end code!

For FEs, sure.  I agree.  But right now the focus is on fixing the
interface between FEs and the ME.  One thing at a time.

Finally separating FE ASTs from the ME will give us some of the
modularity aspects we are looking for. Similar work would be
beneficial on the FE side, as well. Particularly those using 'tree'.
Front ends using their own data structures for ASTs will only need to
worry about emitting GIMPLE.

Front ends have their own share of issues.  If we can at least isolate
them to the particular FE, we will have gained something.  I also
believe that g++ needs a lot of similar work.  But, again, one thing
at a time.


Diego.


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