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

            Bug ID: 58652
           Summary: ICE with move_alloc and unlimited polymorphic
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vladimir.fuka at gmail dot com

class(*),allocatable :: a
   class(*),allocatable :: c
   call move_alloc(a,c)
end


gfortran starallocatable.f90
starallocatable.f90: In function ‘MAIN__’:
starallocatable.f90:4:0: internal compiler error: Neoprávněný přístup do paměti
(SIGSEGV)
    call move_alloc(a,c)
 ^
0x8ba79f crash_signal
        ../../gcc-4.8-20130509/gcc/toplev.c:332
0x5fb7ed gfc_get_symbol_decl(gfc_symbol*)
        ../../gcc-4.8-20130509/gcc/fortran/trans-decl.c:1215
0x61c8ac conv_intrinsic_move_alloc
        ../../gcc-4.8-20130509/gcc/fortran/trans-intrinsic.c:7430
0x61c8ac gfc_conv_intrinsic_subroutine(gfc_code*)
        ../../gcc-4.8-20130509/gcc/fortran/trans-intrinsic.c:7577
0x5e3872 trans_code
        ../../gcc-4.8-20130509/gcc/fortran/trans.c:1490
0x600c92 gfc_generate_function_code(gfc_namespace*)
        ../../gcc-4.8-20130509/gcc/fortran/trans-decl.c:5397
0x5a49d0 translate_all_program_units
        ../../gcc-4.8-20130509/gcc/fortran/parse.c:4474
0x5a49d0 gfc_parse_file()
        ../../gcc-4.8-20130509/gcc/fortran/parse.c:4688
0x5dfd15 gfc_be_parse_file
        ../../gcc-4.8-20130509/gcc/fortran/f95-lang.c:189
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to