]> gcc.gnu.org Git - gcc.git/commit
PR fortran/95340 - ICE in gfc_match_select_rank, at fortran/match.c:6690
authorHarald Anlauf <anlauf@gmx.de>
Sun, 28 Jun 2020 14:24:15 +0000 (16:24 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Sun, 28 Jun 2020 14:24:15 +0000 (16:24 +0200)
commitb62cac6d92ff251213753475b69ec0b269cb7fae
tree20f04a663bf0818890729cdd79e1dd2357cfb2df
parent06ed4aae1c2fa84b7050a286d866db4a6def3c36
PR fortran/95340 - ICE in gfc_match_select_rank, at fortran/match.c:6690

Do not dereference NULL pointer when querying array shape of possibly
improperly delared variable.

gcc/fortran/
PR fortran/95340
* match.c (gfc_match_select_rank): Do not dereference NULL pointer.
gcc/fortran/match.c
gcc/testsuite/gfortran.dg/pr95340.f90 [new file with mode: 0644]
This page took 0.066276 seconds and 5 git commands to generate.