This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PLUGIN_FINISH_TYPE not executed for enums
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: Joachim Wieland <joe at mcknight dot de>, gcc at gcc dot gnu dot org
- Date: Wed, 19 Jan 2011 16:09:29 +0100
- Subject: Re: PLUGIN_FINISH_TYPE not executed for enums
- References: <AANLkTimanJpH1BLumyJggLwQZV73hHtcksci7q4f_iQ1@mail.gmail.com>
On Wed, Jan 19, 2011 at 09:27:54AM -0500, Joachim Wieland wrote:
> Hi,
>
> is there any reason why in gcc-4.5.1 the plugin hook
> PLUGIN_FINISH_TYPE is not executed for enums?
>
> In c-parser.c there is a call to
>
> invoke_plugin_callbacks (PLUGIN_FINISH_TYPE, t.spec);
>
> for RID_STRUCT and RID_UNION but not for RID_ENUM. Is this an
> oversight or on purpose?
I believe it is a bug, and I hope it could be fixed before 4.6
Cheers
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***