[MacPorts] #36229: gfortran return values of type real(kind=8) or real(kind-10) are mangled

MacPorts noreply at macports.org
Wed Sep 19 17:18:32 PDT 2012


#36229: gfortran return values of type real(kind=8) or real(kind-10) are mangled
---------------------+--------------------------------
  Reporter:  me@…    |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.2
Resolution:          |   Keywords:  gfortran
      Port:  gcc45   |
---------------------+--------------------------------

Comment (by me@…):

 I'm also getting a similar error with integers.  I'm new to fortran, so
 maybe I'm missing something, but I haven't found anything that explains
 this.

 output with integer:
 {{{
            1
            1
           -1
            0
 }}}

 code with integer:
 {{{
 program bugtest2
 integer :: test = 1
   print *, test
   test = check(test)
   print *, test
 end program bugtest2

 function check(x)
 integer :: x, check
   check = -1
   print *, x
   print *, check
 end
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36229#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list