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]

RFA: more plugin header files; pass list list


It turned out that I need some more header files for the ICI function cloning.
Although copies of these fieles can be shipped alongside the plugin sources,
they are larger than the plugin sources themselves, and are bound to get
out-of-date as soon as gcc 4.6. opens.  And what's worse,
$(TM_P_H) is target specific.

Also, in order to do without some of the rejected callbacks, the ICI plugin
needs to know about all the pass lists.  Although it is possible to put such
a list into the plugin sources, again, this is bound to get out-of-date after
a while.  Moreover, the code in passes.c:register_pass could be cleaned up
with such a list.

I have attached a patch to add the extra header files
to Makefile.in:PLUGIN_HEADERS, and to define the pass list list in
tree-pass.h .  bootstrapped & installed on i686-pc-linux-gnu .

I haven't included the passes.c cleanups because those would actually have
a potential to break the bootstrap on targets that are close to some TOC
limit; we can save that part for 4.6 .

Attachment: xheader-20091218-diff
Description: Text document


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