gengtype: conditional GTY ? (to add before GCC 6 release)

Basile Starynkevitch basile@starynkevitch.net
Fri Feb 12 14:21:00 GMT 2016


On 02/12/16 14:38, Richard Biener wrote:
> On Fri, Feb 12, 2016 at 1:23 PM, Basile Starynkevitch
> <basile@starynkevitch.net> wrote:
>
> I am tempted to try implementing a conditional GTY,
[...]
> but this makes sense only if such a gengtype patch would go both into GCC 6
> and into the next microrelease of GCC 5, i.e. GCC 5.4
>
> I'm afraid that the current stage rules forbid that. Or, could such a patch
> be considered as a bug fix?
> Sorry, no.

I was afraid (but I am not surprised) of such a reply.
So won't spend any additional minute on patching gengtype.
So I will have to generate some additional file in MELT (containing 
simply the
      typedef gimple* melt_gimpleptr_t;
line) and hack the build procedure.

> The plugin API was never considered stable and thus plugins have to
> deal with incompatibilites as they arise.
>
> Help with picking up the partially completed work on a stable plugin
> (introspection) API
> is of course welcome.

What exact functions (their name, the source files defining them) in the 
current GCC trunk are you referring to by your "introspection" word? 
Last time I checked (a few months ago) there where nothing related to 
that. Today, the only occurrences of introspection (in GCC trunk svn 
rev233268) are in Java part and in the libsanitizer.

Regards.


-- 
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 mine, sont seulement les miennes} ***



More information about the Gcc mailing list