problem with derived type (type-parameter-name-list)
funchlady
finchlady888@hotmail.com
Mon Feb 21 17:37:00 GMT 2011
Hi,
gfortran has a problem with type-parameter-name-list, for example,
program test
TYPE :: general_point (k, dim)
INTEGER, KIND :: k = selected_real_kind(6,70)
INTEGER, LEN :: dim
REAL(k) :: coordinates(dim)
END TYPE general_point
end program test
gfortran failed. The compiler I use is as:
Z:\test>gfortran -v
Built by Equation Solution <http://www.Equation.com>.
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=c:/users/test/gcc/bin/../libexec/gcc/x86_64-w64-mingw32/4.6.0
/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-4.6-20110219-mingw/configure
--host=x86_64-w64-mingw32 -
-build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32
--prefix=/home/gfort
ran/gcc-home/binary/mingw32/native/x86_64/gcc/4.6-20110219
--with-gmp=/home/gfor
tran/gcc-home/binary/mingw32/native/x86_64/gmp
--with-mpfr=/home/gfortran/gcc-ho
me/binary/mingw32/native/x86_64/mpfr
--with-mpc=/home/gfortran/gcc-home/binary/m
ingw32/native/x86_64/mpc
--with-ppl=/home/gfortran/gcc-home/binary/mingw32/nativ
e/x86_64/ppl
--with-cloog=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/c
loog
--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_64/gcc/4.6-
20110219 --with-gcc --with-gnu-ld --with-gnu-as --with-lto-plugin
--enable-cloog
-backend=ppl --with-host-libstdcxx='-lstdc++ -lsupc++ -lm'
--enable-targets=i686
-w64-mingw32,x86_64-w64-mingw32 --enable-lto
--enable-languages=c,c++,fortran --
enable-libgomp --enable-threads=win32 --enable-static --disable-shared
--disable
-nls --disable-tls --disable-win32-registry
Thread model: win32
gcc version 4.6.0 20110219 (experimental) (GCC)
--
View this message in context: http://old.nabble.com/problem-with-derived-type-%28type-parameter-name-list%29-tp30978956p30978956.html
Sent from the gcc - fortran mailing list archive at Nabble.com.
More information about the Fortran
mailing list