This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25321] New: array shape conformance error
- 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: 8 Dec 2005 22:25:51 -0000
- Subject: [Bug fortran/25321] New: array shape conformance error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat
program test
integer ::a(2,2)
real :: b(4,4)
a=1
b=2.0
b = b + a
end program test
gfortran doesn't give a "shapes not conformable" error.
There is a PR #19754 and fix for the similar problem when arrays are of the
same type. In this particular case arrays are of different types.
--
Summary: array shape conformance error
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uttamp at us dot ibm dot com
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25321