The attached program produce memory corruption at runtime because of an expression between 2 arrays of different shape using array section. I'm not sure if it is standard conforming or not, so I'm reporting it as a bug; the program executes OK with pgf90 and ifort (on Linux) and xlf90 (on AIX).
-- Summary: memory corruption with array section assignment of arrays with different shape Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: deji_aking at yahoo dot ca http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39894