This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/53867] New: Probably a bogus warning on types
- From: "fkrogh#gcc at mathalacarte dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jul 2012 23:34:19 +0000
- Subject: [Bug fortran/53867] New: Probably a bogus warning on types
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53867
Bug #: 53867
Summary: Probably a bogus warning on types
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: fkrogh#gcc@mathalacarte.com
Created attachment 27749
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27749
Compiling the attachment gives the error message
Attached is a 9 line file which gives the following diagnostic
EnumKind.f90:7.19:
integer(k) :: C
1
Warning: Component 'c' in derived type 't' at (1) may not be C interoperable,
even though derived type 't' is BIND(C)
The NAG and Intel compilers (I have been told) don't give any such warning.