URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [pr42781.f90] - Rev 695
Compare with Previous | Blame | View Log
! ICE with gfortran 4.5 at -O1:!gfcbug98.f90: In function ‘convert_cof’:!gfcbug98.f90:36:0: internal compiler error: in pt_solutions_same_restrict_base,!at tree-ssa-structalias.c:5072module fooimplicit nonetype t_timeinteger :: secs = 0end type t_timecontainselemental function time_cyyyymmddhh (cyyyymmddhh) result (time)type (t_time) :: timecharacter(len=10),intent(in) :: cyyyymmddhhend function time_cyyyymmddhhfunction nf90_open(path, mode, ncid)character(len = *), intent(in) :: pathinteger, intent(in) :: modeinteger, intent(out) :: ncidinteger :: nf90_openend function nf90_openend module foo!==============================================================================module gfcbug98use fooimplicit nonetype t_fileinfocharacter(len=10) :: atime = ' 'end type t_fileinfotype t_bodyreal :: bg(10)end type t_bodycontainssubroutine convert_cof (ifile)character(len=*) ,intent(in) :: ifilecharacter(len=5) :: versiontype(t_fileinfo) :: gattrtype(t_time) :: atimetype(t_body),allocatable :: tmp_dat(:)real ,allocatable :: BDA(:, :, :)call open_inputcall convert_datacontainssubroutine open_inputinteger :: i,jversion = ''j = nf90_open(ifile, 1, i)end subroutine open_input!--------------------------------------------------------------------------subroutine convert_dataBDA(1,:,1) = tmp_dat(1)% bg(:)atime = time_cyyyymmddhh (gattr% atime)end subroutine convert_dataend subroutine convert_cofend module gfcbug98
