This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype: conditional GTY ? (to add before GCC 6 release)
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 12 Feb 2016 15:21:52 +0100
- Subject: Re: gengtype: conditional GTY ? (to add before GCC 6 release)
- Authentication-results: sourceware.org; auth=none
- References: <56BDCECE dot 60407 at starynkevitch dot net> <CAFiYyc2kT8H3NhRJEhSWfA+iGt8Ueq84=P8y8yX3pO7Q0nrrvg at mail dot gmail dot com>
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} ***