https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114739
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- Thanks for the report. Fixed on mainline. The incorrect errors will have to be fixed on 13-branch at very least. Unfortunately, this is not a question of using a backport but I will get onto it right away. Regards Paul