[Bug fortran/84697] minloc/maxloc not simplified with zero size

2018-03-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84697 --- Comment #2 from Thomas Koenig --- There is also a regression here: $ cat a.f90 program main implicit none integer, parameter :: z(0) = 0 print *,minloc(z) end program main $ ./a.out Fortran runtime error: Rank of array needs to be > 0

[Bug fortran/84697] minloc/maxloc not simplified with zero size

2018-03-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84697 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|