On August 29, 2014 8:08:38 PM CEST, Basile Starynkevitch <bas...@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.