https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Created attachment 42429 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42429&action=edit Patch which works for maxloc except for some cases This patch works, sort of, but it fails with a segfault for program main real, dimension(3) :: a call random_number(a) print *, maxloc(a) end program main Let's try some more things here...