Fortran on X86 : G2L converter bug

Post Reply

Topic author
joukj
Master
Posts: 175
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Fortran on X86 : G2L converter bug

Post by joukj » Wed Jul 05, 2023 6:47 am

Hi all,

I got the followimg on X86 (on AXP&Ia64 it just compiles). the problem seems to be the optional parameter from the main routine used in the one contained in it.

Code: Select all

rumba-jj) f90/vers
VSI Fortran X8.5-0004 (GEM 50X6F) for X86 systems
rumba-jj) ty test.f90
subroutine eee(exitstatus)

  integer, intent(out), optional :: exitstatus
  real*8 prod , d
  integer n , l

  if (present(exitstatus) ) exitstatus = 0
  call init( prod , d , n , l )
  prod = d * prod / (dble(l+3) * fact(n))

  contains
    function fact(i)
      integer :: i
      real*8 fact

      if ( i >= 0 ) then
        fact = 0.0
      else
        if (present(exitstatus)) exitstatus =1
        stop
      end if
      end function

end subroutine
   5-JUL-2023 12:39:58
rumba-jj) f90 test.f90
G2L-E-ASSERT, G2L converter bug in [.src]g2l_operator.cxx at line 1981
Operands do not have conformable pointer types


sergey_vorfolomeev
VSI Expert
Master
Posts: 101
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Fortran on X86 : G2L converter bug

Post by sergey_vorfolomeev » Wed Jul 05, 2023 10:11 am

We are working on it.


Topic author
joukj
Master
Posts: 175
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: Fortran on X86 : G2L converter bug

Post by joukj » Thu Nov 16, 2023 2:03 am

Do not get this problem anymore with the new fortran compiler (X8.5-007)

thanks
Jouk

Post Reply