[Bug fortran/23661] New: 'print fmt' is unclassifiable statement in gfortran
uttamp at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 31 19:42:00 GMT 2005
test case:
$ cat print_fmt.f95
PROGRAM print_fmt_test
IMPLICIT NONE
character(len=5) :: fmt = "( a)"
integer :: i
print fmt, ("=", i=1, 2)
END PROGRAM print_fmt_test
$ gfortran -c print_fmt.f95
In file print_fmt.f95:5
print fmt, ("=", i=1, 2)
1
Error: Unclassifiable statement at (1)
$ gfortran -v
Using built-in specs.
Target: powerpc64-linux
Configured with: /home/gccbuild/gcc_mline_anoncvs/gcc/configure
--prefix=/opt/gcc-nightly/mline-20050823 --build=powerpc64-linux
--host=powerpc64-linux --target=powerpc64-linux --with-cpu=default32
--with-as=/opt/gcc-nightly/mline-20050823/bin/as
--with-ld=/opt/gcc-nightly/mline-20050823/bin/ld --enable-threads=posix
--enable-shared --enable-__cxa_atexit
--enable-languages=c,c++,f95,java,objc,obj-c++ --enable-checking
--with-mpfr=/opt/gcc-nightly/mline-20050823
Thread model: posix
gcc version 4.1.0 20050823 (experimental)
"print fmt" statement is part of fortran 95 standard.
--
Summary: 'print fmt' is unclassifiable statement in gfortran
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uttamp at us dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23661
More information about the Gcc-bugs
mailing list