[patch] The remainder of tree-flow.h refactored.

Richard Biener richard.guenther@gmail.com
Wed Oct 9 18:14:00 GMT 2013


Andrew MacLeod <amacleod@redhat.com> wrote:
>On 10/08/2013 06:22 AM, Richard Biener wrote:
>>
>> unvisit_body isn't generic enough to warrant moving out of gimplify.c
>> (the only user).
>
>Bah, now I remember.. so there *are* other users.. this routine is 
>called from various front ends.. fortran, c-family and cp all call it. 
>That is why I wanted to move it to tree.[ch].  it doesn't belong in a 
>gimple file..  it operates on trees and is also used by tree front
>ends.

But afaik as part of gimplifying. The gimplifier is part of the frontend-middleend interface. Lumping all of it into tree.c isn't sustainable.

Richard.

>which then brings with it all the related routines...  unshare_body is 
>then exported from tree.c in order for gimplify.c to utilize it.
>
>This patch handles just this part.
>
>bootstraps on x86_64-unknown-linux-gnu, regressions test are still 
>running.  OK?
>
>Andrew




More information about the Gcc-patches mailing list