This is the mail archive of the 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] g95 SEGV building libgfortran

On Thu, 2003-09-04 at 16:54, wrote:
> In message <>, Diego Novillo 
> writes:
>  >On Thu, 2003-09-04 at 16:27, wrote:
>  >
>  >> It's easy enough to add code to call the gimplifier in
>  >> gfc_generate_function_code, but I'm wondering if that's really the right
>  >> thing to do (ie, is there some reason why you do not call
>  >> gimplify_function_tree -- are you assuming that it's called from somewhere
>  >> in the generic parts of the compiler?)
>  >> 
>  >I was under the impression that f95 generated GIMPLE directly.
> Well, then it really shouldn't be generating LOOP_EXPRs anymore, should it? :-)
Aha!  This is where we go back to the language vs optimizer issue :)  If
we don't allow the FE to generate LOOP_EXPR, then we are effectively
changing the GIMPLE grammar.  I'm fine with that, but we need to
document the change in the grammar and probably ask the Fortran folks if
that's OK with them.

I don't know whether it's merely annoying or impossible to make that
change in the Fortran FE.  In principle, I wouldn't think it's
impossible, but then again I'm not the one making the change :)


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