https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107995
--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Sat, Dec 10, 2022 at 07:37:06PM +0000, anlauf at gcc dot gnu.org wrote: > (In reply to kargl from comment #1) > > This patch prevents the ICE. > > The patch is mostly good, but does not set the errmsg variable, which > leads to garbage in the printed error message. > > We could do the following (haven't found a better one yet): > Don't see the point in complicating the patch as there is at least one earlier error message. But, since I won't be committing a chnage, I certainly won't object to your patch.