https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054
--- Comment #11 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Apr 27, 2022 at 08:49:17PM +0000, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054 > > --- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- > (In reply to anlauf from comment #9) > > (In reply to Thomas Koenig from comment #8) > > > Fixed on trunk by > > > > > > https://gcc.gnu.org/pipermail/gcc-cvs/2022-April/362724.html . > > > > Thomas, > > > > you'd better re-read Steve's analysis. > > > > Your patch left the first > > > > a = a ! This used to ICE. > > > > which is invalid at runtime. Try yourself running under valgrind. > > > > Either remove this line too, or protect it with an if (allocated (a)) > > Thanks for pointing this out. > > Removed with https://gcc.gnu.org/pipermail/gcc-cvs/2022-April/362729.html . > Thanks Thomas!