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/20828] New: gfortran seems confused by character equivalence


The following valid code fails to compile

      PROGRAM BUG
      CHARACTER  CQALLC*1, CQLETT(1)*1
      EQUIVALENCE (CQLETT(1),CQALLC(1:1))

      END

[/Users/fca] /opt/gcc-4_0/bin/gfortran -I $ALICE/geant3/minicern -c bugf000000.F 2>&1 | more
 In file bugf000000.F:5

      END                                                               
                                                                       1
 Internal Error at (1):
 find_array_spec(): Missing spec

-- 
           Summary: gfortran seems confused by character equivalence
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: federico dot carminati at cern dot ch
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.8.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20828


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