Bug 84246 - [11/12/13/14 Regression] [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950
Summary: [11/12/13/14 Regression] [Coarray] ICE in conv_caf_send, at fortran/trans-int...
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 8.0
: P4 normal
Target Milestone: 11.5
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks: Coarray
  Show dependency treegraph
 
Reported: 2018-02-06 17:58 UTC by G. Steinmetz
Modified: 2023-07-07 10:33 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work: 6.4.0
Known to fail: 7.3.0, 8.0
Last reconfirmed: 2018-02-07 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G. Steinmetz 2018-02-06 17:58:19 UTC
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
Comment 1 Dominique d'Humieres 2018-02-07 10:56:37 UTC
Confirmed. Likely r243021.
Comment 2 Richard Biener 2019-11-14 07:50:03 UTC
The GCC 7 branch is being closed, re-targeting to GCC 8.4.
Comment 3 Jakub Jelinek 2020-03-04 09:32:05 UTC
GCC 8.4.0 has been released, adjusting target milestone.
Comment 4 Jakub Jelinek 2021-05-14 09:49:47 UTC
GCC 8 branch is being closed.
Comment 5 Richard Biener 2021-06-01 08:10:06 UTC
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
Comment 6 Richard Biener 2022-05-27 09:38:15 UTC
GCC 9 branch is being closed
Comment 7 Jakub Jelinek 2022-06-28 10:34:24 UTC
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
Comment 8 Richard Biener 2023-07-07 10:33:08 UTC
GCC 10 branch is being closed.