GCC plugins & GGC & explicit gcc_free
Richard Biener
richard.guenther@gmail.com
Sat Aug 30 07:21:00 GMT 2014
On August 29, 2014 8:08:38 PM CEST, Basile Starynkevitch <basile@starynkevitch.net> wrote:
>On Fri, 2014-08-29 at 19:58 +0200, Richard Biener wrote:
>>
>> You are in the same situation as any other pass would be. Don't hang
>on things that can get stale.
>>
>> There is no point in keeping a pointer to a deleted edge.
>
>Yes there is. The use case is to make some statistics on edges and to
>print these at FINISH_UNIT time.
Then this is either not possible with a plugin (you'd have to patch the edge code) or you have to create your own shadow data structure to do that.
Richard.
>Regards.
More information about the Gcc
mailing list