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/30284] New: ICE in gfc_add_modify, at fortran/trans.c:159


Hi,

here's another one:

% cat gfcbug51.f90
program gfcbug51
  implicit none

  type date_t
     character(len=12) :: date = '200612231200' ! yyyymmddhhmm
  end type date_t
  type year_t
    integer :: year = 0
  end type year_t

  type(date_t) :: file(1)
  type(year_t) :: time(1)

  read (file% date(1:4),'(i4)')  time% year
  print *, time% year
end program gfcbug51
% gfc gfcbug51.f90
gfcbug51.f90: In function 'MAIN__':
gfcbug51.f90:1: internal compiler error: in gfc_add_modify, at
fortran/trans.c:1
59

Cheers,
-ha


-- 
           Summary: ICE in gfc_add_modify, at fortran/trans.c:159
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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


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