https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105128
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 52738
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52738&action=edit
gcc12-pr105128.patch
So like this untested patch?
Can test it with gcc, but don't have a new enough clang around.