$ 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

Reply via email to