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] Move split_double from final.c to rtlanal.c, do not include output.h in expr.c


On Fri, Jun 8, 2012 at 12:23 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hello,
>
> Another patch to move around some code to break up a strange
> dependency. expr.c isn't supposed to emit assembly so it shouldn't
> need output.h, but it needs split_double from final.c. This
> split_double has nothing to do with writing out assembly, so it
> shouldn't be in final.c, and I moved it to rtlanal.c. This, and moving
> one more prototype from output.h to tree.h (an oversight in a previous
> patch) , makes it possible to no longer include output.h in expr.c.
>
> Bootstrapped&tested on powerpc64-unknown-linux-gnu. OK for trunk?

Ok.

Thanks,
Richard.

> Ciao!
> Steven


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