[tree-ssa] Remove LOOP_EXPR
Paul Brook
paul@nowt.org
Sat Sep 6 20:43:00 GMT 2003
On Saturday 06 September 2003 9:15 pm, Zdenek Dvorak wrote:
> Hello,
>
> > They're being generated by stmt.c:expand_start_loop. I am quite lost
> > around this code :) So, could I ask one of you folks to take a look?
> >
> > The test case I was looking at is
> > gfortran.fortran-torture/compile/ambig.f90
>
> the problem is that fortran frontend does not call gimplification at all.
> I am not really sure whether this is intentional (is it trying to
> produce gimple directly?). Anyway, this patch fixes the problem.
I wasn't aware a frontend had to do the gimplification, until everthing
broke:)
I made a patch make gfortran do gimplification. However I much prefer your
solution which seems to work just as well based on my limited testing. Note
I don't have authority to approve it, and haven't checked if it breaks
other languages.
> Zdenek
>
> * tree-optimize.c (tree_rest_of_compilation): Call
> gimplification.
More information about the Gcc-patches
mailing list