https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99124
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Fixed on all three branches. Thanks for the report. I hope that the constraint on class-valued elemental functions doesn't spoil any code. Cheers Paul