On Wed, 4 Aug 2021 15:13:30 +0200
Thomas Schwinge <tho...@codesourcery.com> wrote:

> 'oacc_do_neutering' is the 'execute' function of the pass, so that
> means every time this executes, a fresh 'field_map' is set up, no
> state persists across runs (assuming I'm understanding that
> correctly).  Why don't we simply use standard (non-GC) memory
> management for that?  "For convenience" shall be fine as an answer
> ;-) -- but maybe instead of figuring out the right GC annotations,
> changing the memory management will be easier?  (Or, of course, maybe
> I completely misunderstood that?)

I suspect you're right, and there's no need for this to be GC-allocated
memory. If non-standard memory allocation will work out fine, we should
probably use that instead.

Thanks,

Julian

Reply via email to