[Bug fortran/32319] Bad automatic array argument

2007-06-13 Thread terry at chem dot gu dot se
--- Comment #2 from terry at chem dot gu dot se 2007-06-13 16:10 --- Ah. Of course explicit interfaces are required for automatic array arguments. My Fortran-Fu seems to be deserting me at the moment. :-( -- terry at chem dot gu dot se changed: What|Removed

[Bug fortran/32319] Bad automatic array argument

2007-06-13 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-06-13 15:57 --- If you would provide an explicit interface for AA, the binary would not segfault: $> cat pr32319.f90 program ff implicit none integer,dimension(4)::w w=1 write(*,*)w call aa(w(2:3)) write(*,*)w contains