]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix ICE in trans_associate_var
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 5 Mar 2020 10:01:59 +0000 (11:01 +0100)
committerThomas König <tkoenig@gcc.gnu.org>
Thu, 5 Mar 2020 10:04:09 +0000 (11:04 +0100)
commit7beafc829c5b122298093ba517023015611aeca8
treee8567a37168d11caeb6a338918d55c9655ac5f15
parente19f06538c51fed54240a4e98277e62daa00d9b3
Fix ICE in trans_associate_var

2020-03-05  Paul Thomas  <pault@gcc.gnu.org>

Backport from trunk
PR fortran/92976
* match.c (select_type_set_tmp): Variable 'selector' to replace
select_type_stack->selector. If the selector array spec has
explicit bounds, make the temporary's bounds deferred.

2020-03-05  Paul Thomas  <pault@gcc.gnu.org>

Backport from trunk
PR fortran/92976
* gfortran.dg/select_type_48.f90 : New test.
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_48.f90 [new file with mode: 0644]