On Tue 2026-06-23 16:06:28, Richard Biener wrote:
> On Tue, 23 Jun 2026, Filip Kastl wrote:
> > On Mon 2026-06-22 09:16:05, Richard Biener wrote:
> > > Now, that we get
> > >
> > > allarg(34) = { ESCAPED Open Open.clobber Open.use Open.result }
> > >
> > > shows that we fail to maintain the fact that we of course cannot
> > > take the address of Open.clobber or Open.use. I think this
> > > means we fail to set ->is_artificial_var on those (but not on
> > > arguments or result)? So if that helps, I think that's the
> > > correct thing to do here.
> >
> > I'll look into this (though maybe not right away).
>
> Maybe I was misled here, but we should never construct "&Open.use",
> aka take the address of this subvariable. I don't see how we
> currently avoid this, setting ->is_artificial_var might have
> other side-effects.
I've filled out pr126130 to track this (but didn't investigate further yet).
Filip