Bug 25321 - array shape conformance error
Summary: array shape conformance error
Status: RESOLVED DUPLICATE of bug 23209
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.1.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 22:25 UTC by Uttam Pawar
Modified: 2005-12-12 20:52 UTC (History)
1 user (show)

See Also:
Host: powerpc64-linux
Target: powerpc64-linux
Build: powerpc64-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***