http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51946
Bug #: 51946 Summary: file compiles properly on IBM xlf compiler and cary compiler Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: dominique.pellet...@polymtl.ca Created attachment 26412 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26412 taken from Damian Rouson's book , allocate seems to be the culprit Source if from Damian Rouson from Sandia National Laboratories It compiles properly with IBM xlf and Cray fortran compilers. apparently the allocate statement Allocate ( localprdct, source = rhs) is the culprit