https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124482
--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- > (In reply to Christopher Albert from comment #5) >> Created attachment 63924 [details] >> Fix use-after-free in CLASS component error recovery >> >> Fix: defer CLASS container cleanup to avoid use-after-free > > Rainer, please confirm this fixes it for you. It did indeed: tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11. I've taken the patch from the PR, assuming it's identical to the one posted on gcc-patches. Thanks for the quick fix.
