This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52010] New: Intrinsic assignment involving CLASS/TYPE
- From: "fmartinez at gmv dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Jan 2012 15:45:44 +0000
- Subject: [Bug fortran/52010] New: Intrinsic assignment involving CLASS/TYPE
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: fmartinez@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.