Andrew MacLeod <amacl...@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