This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch ping^3: gengtype: improved version for plugin support.
- From: Duncan Sands <baldrick at free dot fr>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: Laurynas Biveinis <laurynas dot biveinis at gmail dot com>, "diego dot novillo at gmail dot com" <diego dot novillo at gmail dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 01 Sep 2009 16:55:32 +0200
- Subject: Re: patch ping^3: gengtype: improved version for plugin support.
- References: <4A600F39.6000003@starynkevitch.net> <4A69A007.20108@starynkevitch.net> <4A9B5C2F.7010007@starynkevitch.net> <4A9CB3E3.5090808@starynkevitch.net> <d1e3ff2b0909010220t6ed8a4bfp1f15db94e754c807@mail.gmail.com> <4A9D2F45.8010407@starynkevitch.net>
Hi Basile,
As a general point, I believe this patch is much more usable for
realistic plugins using GGC. As Duncan Sands explained, the current
gengtype is very buggy in plugin mode for non trivial plugins. Hence, in
contrast to what Duncan kindly suggested, I cannot break it into parts;
and it is quite a simple patch: in every place gengtype is outputting
something relevant to plugins, I added an additional test, and I record
in every descriptor of GTY-ed stuff a flag (called in_plugin) which
tells if it is from the plugin files.
one thing I don't understand is which change fixed the bug I described
in my previous email (gtest.c)?
Ciao,
Duncan.