https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92616
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- https://bugzilla.kernel.org/ but I think they prefer bugs to be reported to distros unless you're actually using the upstream kernel. So report it to Ubuntu (but mention it's also seen in Fedora).