[Bug fortran/84246] New: [7/8 Regression] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Feb 6 18:31:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84246

            Bug ID: 84246
           Summary: [7/8 Regression] ICE in conv_caf_send, at
                    fortran/trans-intrinsic.c:1950
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20161127 and 20161204 :


$ cat z1.f90
program p
   type t
      character(:), allocatable :: a
   end type
   type(t) :: x[*], y[*]
   x%a = 'abc'
   y%a = x%a
end


$ cat z2.f90
program p
   type t
      character(:), allocatable :: a
   end type
   type(t) :: x[*], y[*]
   allocate (x%a, source='abc')
   y%a = x%a
end


$ gfortran-7-20161127 -c z1.f90 -fcoarray=lib
$
$ gfortran-8-20180204 -c z1.f90 -fcoarray=lib
z1.f90:7:0:

    y%a = x%a

internal compiler error: in conv_caf_send, at fortran/trans-intrinsic.c:1950
0x79194d conv_caf_send
        ../../gcc/fortran/trans-intrinsic.c:1950
0x7973cb gfc_conv_intrinsic_subroutine(gfc_code*)
        ../../gcc/fortran/trans-intrinsic.c:10777
0x785803 gfc_trans_assignment_1
        ../../gcc/fortran/trans-expr.c:10210
0x7496c7 trans_code
        ../../gcc/fortran/trans.c:1828
0x770779 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6490
0x700040 translate_all_program_units
        ../../gcc/fortran/parse.c:6121
0x700040 gfc_parse_file()
        ../../gcc/fortran/parse.c:6324
0x74686f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204


More information about the Gcc-bugs mailing list