Re: [PATCH] ggc: do not wipe out unrelated data via gt_ggc_rtab

2023-09-29 Thread Richard Biener
On Thu, 28 Sep 2023, Sergei Trofimovich wrote: > From: Sergei Trofimovich > > There are 3 GC root tables: > >gt_ggc_rtab >gt_ggc_deletable_rtab >gt_pch_scalar_rtab > > `deletable` and `scalar` tables are both simple: each element always > contains a pointer to the beginning of the

[PATCH] ggc: do not wipe out unrelated data via gt_ggc_rtab

2023-09-28 Thread Sergei Trofimovich
From: Sergei Trofimovich There are 3 GC root tables: gt_ggc_rtab gt_ggc_deletable_rtab gt_pch_scalar_rtab `deletable` and `scalar` tables are both simple: each element always contains a pointer to the beginning of the object and it's size is the full object. `rtab` is different: it's