gfortran builds main part of David Bailey's multi-precision F90 library correctly, but it gives syntax errors when compiling the array modules extension of this library (mpmod90v.f). g95 and the online Lahey source checker both compile this without errors.
The library I am talking about can be found at http://crd.lbl.gov/~dhbailey/mpdist/mpfun90.tar.gz I am using Ubuntu Hardy Heron on x86_64, with the gfortran trunk build from two days ago (4.4.0 trunk revision 137451). Since the mpmod90v.f source file is huge, I have cut it down to a program that triggers the error (test.f90). The modules in mpfun90.f and mpmod90.f must be compiled first: $ gfortran -ffree-form -c mpfun90.f mpmod90.f this works without any errors, but then compiling the first subroutine from mpmod90v.f (to be provided in the file test.f90) gives $ fortran -o test test.f90 test.f90:20.33: call mpeq (jb%mpi, ja(ii1)%mpi, mpnw) 1 Error: Syntax error in argument list at (1) -- Summary: gfortran sytax error on Bailey's multiprecision array module Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kris at kuhlmans dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36746