[Bug fortran/14957] [gfortran] testsuite issues

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 14 18:35:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-14 17:40 -------
stack_varsize.f90:
   program STACK
     internal subroutine SUB1

   end
      ^
Error 74 at (20:pr14957.1.f90) : SUBROUTINE missing
     internal subroutine SUB2

   end
      ^
Error 74 at (29:pr14957.1.f90) : SUBROUTINE missing

2 Errors
compilation aborted for pr14957.1.f90 (code 1)

I think IFC is wrong here (please someone check with another fortran compiler).

intrinsic_minmax.f90:
It is complaining about "   if (max (4d0, r) .ne. 4d0) call abort" but this might have changed for 
fortran2003.

cmplx.f90:
maybe added to fortran2003 (or is it 2004).

st_function.f90:
"The statement function is obsolescent in Fortran 95"

intrinsic_index.f90:
 I get the warnings or errors with IFC.

intrinsic_trim.f90:
"
   program INTRINSIC_TRIM
  b=trim(a)
    ^
Warning 141 at (9:pr14957.6.f90) : Character string truncated to length 4 on assignment
   external function WORK
"

intrinsic_fraction_exponent.f90:
  equivalence (x, i), (y, j)
                          ^
Warning 23 at (8:pr14957.7.f90) : Equivalencing default and non-default numeric types is an extension 
to standard Fortran 95

Since I do not know fortran 77/90/95/2003 that well but remember IFC is not the compiler that all that 
ends all.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-14 17:40:39
               date|                            |
   Target Milestone|---                         |tree-ssa


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14957



More information about the Gcc-bugs mailing list