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/17202] New: ice-on-valid-code, trans-array.c:217: gfc_conv_descriptor_dtype Assertion failed


gcc version 3.5.0 20040826 (experimental)
> gfortran -c testcase_nrtype.f90
f951: fortran/trans-array.c:217: gfc_conv_descriptor_dtype: Assertion
`((type)->type.lang_flag_1)' failed.
testcase_nrtype.f90: In function `reallocate_hv':
testcase_nrtype.f90:21: internal compiler error: Aborted

*******************************
  function reallocate_hv(p,n)
    
    character,dimension(:),pointer :: reallocate_hv
    integer, intent(in) :: n
    
    allocate(reallocate_hv(n))

  end function reallocate_hv
***********************************

This bug is probably related to PR 15972 and PR 15809.  Is it a DUP?.
ICE occurs at different position in trans-types.c though:

PR 15972 trans-array.c:3025: gfc_trans_dummy_array_bias
PR 15809trans-array.c:184:  gfc_conv_descriptor_data
This bug trans-array.c:217: gfc_conv_descriptor_dtype

-- 
           Summary: ice-on-valid-code, trans-array.c:217:
                    gfc_conv_descriptor_dtype Assertion failed
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: c dot lemmen at fz-juelich dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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