Bug 25321

Summary: array shape conformance error
Product: gcc Reporter: Uttam Pawar <uttamp>
Component: fortranAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gcc-bugs
Priority: P3    
Version: 4.1.0   
Target Milestone: ---   
Host: powerpc64-linux Target: powerpc64-linux
Build: powerpc64-linux Known to work:
Known to fail: Last reconfirmed:

Description Uttam Pawar 2005-12-08 22:25:51 UTC
$ 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.
Comment 1 Andrew Pinski 2005-12-12 20:52:17 UTC

*** This bug has been marked as a duplicate of 23209 ***