https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71345
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77430
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64767
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77444
--
And fixes have also started coming in:
https://gcc.gnu.org/viewcvs?rev=239959&root=gcc&view=rev
Kudos for investigating and reporting the issues.