Page 1 of 1

Old f90 fails to compile src/27_toolbox_oop/m_iterators.F90

Posted: Tue Aug 24, 2010 7:43 am
by t-nissie
Hi,

Old Hitachi f90 compiler for SR11000 fails to
compile src/27_toolbox_oop/m_iterators.F90.

Code: Select all

--- ../../../src/27_toolbox_oop/m_iterators.F90 2010-07-18 03:58:57.000000000 +0900
+++ ./m_iterators.F90   2010-07-26 21:29:21.000000000 +0900
@@ -290,7 +290,7 @@
  do i2=LBOUND(Iter2%slice,DIM=2),UBOUND(Iter2%slice,DIM=2)
    do i1=LBOUND(Iter2%slice,DIM=1),UBOUND(Iter2%slice,DIM=1)
      Iter2%slice(i1,i2)%leng=0
-     Iter2%slice(i1,i2)%indx => null()
+     nullify(Iter2%slice(i1,i2)%indx)
    end do
  end do

Re: Old f90 fails to compile src/27_toolbox_oop/m_iterators.

Posted: Sat Sep 04, 2010 8:58 am
by mverstra
Hi,

ok, this has been incorporated in 6.2.3 (next production release). Eventually we will have to abandon non-conforming compilers, there are a few other instances of =>null() and it is legal f90!

Matthieu

Re: Old f90 fails to compile src/27_toolbox_oop/m_iterators.

Posted: Sun Sep 05, 2010 6:25 am
by gonze
mverstra wrote:ok, this has been incorporated in 6.2.3 (next production release)

Unfortunately not : was slightly too late.
But has been incorporated in 6.3.1, so will appear in one month or so in 6.4.x

Xavier