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]

[patch] Move split_double from final.c to rtlanal.c, do not include output.h in expr.c


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?

Ciao!
Steven

Attachment: move_split_double.diff
Description: Binary data


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