]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran : ICE in gfc_check_pointer_assign PR95612
authorMark Eggleston <markeggleston@gcc.gnu.org>
Thu, 11 Jun 2020 10:05:40 +0000 (11:05 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:17:39 +0000 (13:17 -0300)
commitcd448b546594ae8769ecea6fb2825ddc132008b6
tree2afea0de66a9c4d7e4dc17680dfb3382db6409b1
parente3f1090cc1c39e8acb6ad4a862bd4826aa8c0f5e
Fortran  : ICE in gfc_check_pointer_assign PR95612

Output an error if the right hand value is a zero sized array or
does not have a symbol tree otherwise continue checking.

2020-07-14  Steven G. Kargl  <kargl@gcc.gnu.org>

gcc/fortran/

PR fortran/95612
* expr.c (gfc_check_pointer_assigb): Output an error if
rvalue is a zero sized array or output an error if rvalue
doesn't have a symbol tree.

2020-07-14  Mark Eggleston  <markeggleston@gcc.gnu.org>

gcc/testsuite/

PR fortran/95612
* gfortran.dg/pr95612.f90: New test.
gcc/fortran/expr.c
gcc/testsuite/gfortran.dg/pr95612.f90 [new file with mode: 0644]