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/21415] New: internal compiler error in gfortran -fdefault-integer-8


The following file.f causes the following error:
gfortran -fdefault-integer-8 -c fi.f
fi.f: In function 'bug':
fi.f:1: internal compiler error: in gfc_conv_string_tmp, at fortran/trans-expr.c:736
----
Without -fdefault-integer-8 works just fine.
fi.f:
      SUBROUTINE bug
      CHARACTER*6 S
      CALL something(S//'X')
      RETURN
      END
The error happens both on an opteron machine with
GNU Fortran 95 (GCC 4.0.0 20050406 (Red Hat 4.0.0-0.41.fc3))
and on a pentium machine where I compiled gcc4 myself
GNU Fortran 95 (GCC 4.0.0)

-- 
           Summary: internal compiler error in gfortran -fdefault-integer-8
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jiri dot pittner at jh-inst dot cas dot cz
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: 4.0.0
GCC target triplet: 4.0.0


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


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