This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch][plugin] Invoke FINISH_UNIT callbacks earlier
- From: Diego Novillo <dnovillo at google dot com>
- To: Olatunji Ruwase <tjruwase at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Jul 2009 20:02:54 -0400
- Subject: Re: [patch][plugin] Invoke FINISH_UNIT callbacks earlier
- References: <fe7fd8170907021533p50801422l49b4211baf5abd6e@mail.gmail.com>
2009/7/2 Olatunji Ruwase <tjruwase@google.com>:
> 2009-07-02 Olatunji Ruwase <tjruwase@google.com>
>
> * toplev.c: Invoke FINISH_UNIT callbacks earlier, before
> useful structures are destroyed e.g by finalize.
You just need to state what the patch does (yes, it's kind of
silly). Just mention 'Invoke FINISH_UNIT callbacks before
call to finalize().'
>
> 2009-07-02 Olatunji Ruwase <tjruwase@google.com>
>
> * gcc.dg/plugin/finish_unit_plugin.c: New test.
> * gcc.dg/plugin/finish_unit-test-1.c: New test.
> * gcc.dg/plugin/plugin.exp: Added finish_unit_plugin.c test.
OK otherwise.
Diego.