This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Use of build_binary_op
Op do 26-09-2002, om 11:28 schreef Jason Merrill:
> On Thu, 26 Sep 2002 10:40:51 +0200, Pop Sébastian <pop@gauvain.u-strasbg.fr> wrote:
> > I think that we have to define an interface on both lowered and
> > non lowered GIMPLE.
>
> Why would they need to be different?
Because it allows you to share the lowering pass among the front ends.
The front ends would only need to worry about language specific trees
and their semantics.
I helped designing and writing the simplification pass for G95, and it
wasn't funny nor easy! Taking care of side effects in expressions, all
those pre/post trees (like you have in c-simplify), it's a big hassle.
So it would be a big win if we can make that code language independent.
Greetz
Steven