http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52010
Bug #: 52010 Summary: Intrinsic assignment involving CLASS/TYPE Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: fmarti...@gmv.com The attached examle generates a compiler error about not being able to convert from CLASS to TYPE being the object of the same declared type. Reported bug 41719 addresses partially this issue although looking at the standard (7.4.1) I cannot really see that this assignment is incorrect. The Intel compiler does not complain about this even with the stardard 2003 flags activated.