This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23661] New: 'print fmt' is unclassifiable statement in gfortran
- From: "uttamp at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2005 19:39:21 -0000
- Subject: [Bug fortran/23661] New: 'print fmt' is unclassifiable statement in gfortran
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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