diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2019-09-23 09:19:10 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2019-09-23 09:19:10 +0000 |
commit | 158ab204321cfa5fe5466faa5a12b3c38c45125a (patch) | |
tree | 4f354f0a71b207100c814aa1f714f5f8d8d9927b /gcc/tree-vect-loop.c | |
parent | b7bb3d35804f1d50d7dcfa18aacf1f91d898bb1f (diff) | |
download | gcc-158ab204321cfa5fe5466faa5a12b3c38c45125a.zip gcc-158ab204321cfa5fe5466faa5a12b3c38c45125a.tar.gz gcc-158ab204321cfa5fe5466faa5a12b3c38c45125a.tar.bz2 |
re PR fortran/91729 (ICE in gfc_match_select_rank, at fortran/match.c:6586)
2019-09-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/91729
* match.c (gfc_match_select_rank): Initialise 'as' to NULL.
Check for a symtree in the selector expression before trying to
assign a value to 'as'. Revert to gfc_error and go to cleanup
after setting a MATCH_ERROR.
2019-09-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/91729
* gfortran.dg/select_rank_2.f90 : Add two more errors in foo2.
* gfortran.dg/select_rank_3.f90 : New test.
From-SVN: r276051
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions