https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106172
--- Comment #12 from Chris Clayton <chris2553 at googlemail dot com> --- I've just run the build again with gcc-11-20220701 and get the same set of ICEs. I've kept the files of diagnostics output by gcc and can provide them id they will be helpful.