This is the mail archive of the gcc@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]

Re: PLUGIN_FINISH_TYPE not executed for enums


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} ***


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