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: [tree-ssa] Use of build_binary_op


> wrote:
> > I don't say that we have to switch from the lowering of C/C++ trees to
> > this translation point of view, but I just say that this interface
> > could be useful
> > - for other front-ends that cannot lower their initial AST into GIMPLE,
>
> This definitely seems like the right approach to use for the Ada front
> end.
> After the front end has finished semantic analysis and expansion, it
> traverses
> the resulting Ada tree in order to build the right tree/RTL data for the
> back end. (See ada/trans.c) This design allows for a clean separation of
> the back and front end.

This is similar to what g95 does, except g95 does scalarization at the same 
time.

Paul


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