This is the mail archive of the gcc-patches@gcc.gnu.org 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: [patch] More tree-flow.h prototypes.


On Tue, Oct 1, 2013 at 11:01 PM, Andrew MacLeod <amacleod@redhat.com> wrote:
> This patch moves prototypes into gimple-fold.h (which already existed).
> There were a few in tree-flow.h and a bunch in gimple.h. The routines are
> used frequently enough that it makes sense to include gimple-fold.h from
> gimple.h instead of from within each .c file that needs it. (presumably why
> the prototypes were in gimple.h to begin with). I took gimple-fold.h out of
> whatever .c files it was included in.
>
> tree-ssa-copy.h was also created for the prototypes in that file and
> included from tree-ssa.h.

These should probably be moved elsewhere (tree-ssa-copy.c is supposed
to be the copy propagation pass file).  But that can be done as followup.

> Bootstraps and no new regressions.  OK?

Ok.

Thanks,
Richard.

> Andrew


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