https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119540
--- Comment #3 from anlauf at gcc dot gnu.org --- Created attachment 60936 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60936&action=edit Patch for reduce.c This patch fixes the stride calculation for the result array of the reduce intrinsic for numeric types, but fails on reduce_1.f90 for character tests when compiling with -fcheck=bounds. I might be missing to set some elem_len or span or ...