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: GCC plugins & GGC & explicit gcc_free


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.



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