This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/53867] New: Probably a bogus warning on types


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]