https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99828
--- Comment #12 from Jiri Slaby <jirislaby at gmail dot com> --- (In reply to Jiri Slaby from comment #11) > Looking at the kernel patch, it says: > This is fixed now in gcc, but work around it on older compilers > by using a wrapper. > > If so, how was this fixed an when (in what version)? FWIW it builds with the patch reverted using gcc 12.