https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 50373 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50373&action=edit gcc11-pr99544.patch Patch that implements the *.pd part but not the expansion part (perhaps that can be done in stage1).