This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64771] ICE(segfault) when passing coarrays around; ICE in gfc_zero_size_array in arith.c:1637
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Jan 2015 14:47:33 +0000
- Subject: [Bug fortran/64771] ICE(segfault) when passing coarrays around; ICE in gfc_zero_size_array in arith.c:1637
- Auto-submitted: auto-generated
- References: <bug-64771-4 at http dot gcc dot gnu dot org/bugzilla/>
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