https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92113
--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> --- I don't understand that Fortran code correctly, but it seems to me that ARTIFICIAL code is the correct one, so you shouldn't have reverted this patch, and that may just be a red herring even?