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/35932] New: internal compiler error: CHAR with array arg and also a KIND arg


The following program generates an ICE.

      program FA0005
! fails on Windows XP
! gcc version 4.4.0 20080312 (experimental) [trunk revision 133139]

      CHARACTER(1) CDA1(10)
      INTEGER IDA(10)

      CDA1 = CHAR (  IDA, KIND("A" ))     !fails
      CDA1 = CHAR (  IDA  )               !works

      END 


C:\gfortran>gfortran fa0005.f
fa0005.f: In function 'fa0005':
fa0005.f:1: internal compiler error: in gfc_trans_assignment_1, at
fortran/trans
-expr.c:4330


-- 
           Summary: internal compiler error: CHAR with array arg and also a
                    KIND arg
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dick dot hendrickson at gmail dot com


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


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