[Bug fortran/23209] New: array shape conformance not checked
uttamp at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 2 21:27:00 GMT 2005
Compiler doesn't produce valid error message for the following test case, where
two arrays are not comformable.
program test
integer ::a(2,2)
real :: b(4,4)
a=1
b=2.0
b = b + a
end program test
There is a PR #19754 and a patch in this regard but the patch emits the correct
error message only when both arrays are of same type but with different shapes
but not in the above case.
--
Summary: array shape conformance not checked
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: powerpc-linux
GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23209
More information about the Gcc-bugs
mailing list