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

Documentation, Web site and code modifications

Moderators: baguetl, routerov

Locked
t-nissie
Posts: 12
Joined: Sat Jul 10, 2010 4:21 am
Contact:

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

Post by t-nissie » Tue Aug 24, 2010 7:43 am

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
Takeshi Nishimatsu
love && peace && free_software
http://loto.sourceforge.net/feram/
Fast MD program for perovskite-type ferroelectrics

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

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

Post by mverstra » Sat Sep 04, 2010 8:58 am

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
Matthieu Verstraete
University of Liege, Belgium

gonze
Posts: 412
Joined: Fri Aug 14, 2009 8:29 pm

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

Post by gonze » Sun Sep 05, 2010 6:25 am

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

Locked