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/64771] ICE(segfault) when passing coarrays around; ICE in gfc_zero_size_array in arith.c:1637


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code
                 CC|                            |fanfarillo.gcc at gmail dot com,
                   |                            |tkoenig at gcc dot gnu.org
            Summary|ICE on invalid around       |ICE(segfault) when passing
                   |check_dummy_characteristics |coarrays around; ICE in
                   |/ gfc_zero_size_array       |gfc_zero_size_array in
                   |                            |arith.c:1637

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Fails here the same way, and should be the same reason:
https://gcc.gnu.org/ml/fortran/2015-01/msg00145.html - besides, the test case
is shorter and valid:

      program cg
      implicit none
      integer            reduce_recv_starts(2)[0:*]
      interface
      subroutine conj_grad (reduce_recv_starts)
      integer   reduce_recv_starts(2)[0:*]
      end subroutine
      end interface
         call conj_grad (reduce_recv_starts)
      end
      subroutine conj_grad (reduce_recv_starts)
      implicit none
      integer   reduce_recv_starts(2)[0:*]
      end                       ! end of routine conj_grad


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