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/51993] New: Erroneous type component initialization leads to internal compiler error


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

             Bug #: 51993
           Summary: Erroneous type component initialization leads to
                    internal compiler error
    Classification: Unclassified
           Product: gcc
           Version: fortran-dev
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bardeau@iram.fr


The following (erroneous) code raises an internal compiler error (gfortran
4.7.0 20111119):

module mymod
  type :: mytyp
    character(len=3) :: a = .true.
  end type mytyp
end module mymod

f951: internal compiler error: in gfc_set_constant_character_len, at
fortran/decl.c:1215


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