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

Reply via email to