re PR fortran/85001 (ICE in gfc_build_array_type, at fortran/trans-types.c:1420)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 21 Mar 2018 01:07:43 +0000 (01:07 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 21 Mar 2018 01:07:43 +0000 (01:07 +0000)
commitf11600c98517d58c0f62df8e78f7090524f2d61b
treea1edfa4a0e9f5c6bded142cc2f6f83ee10f9d3f9
parent2ed0fd052fffa7d90a0ef305e41e9afd662d085e
re PR fortran/85001 (ICE in gfc_build_array_type, at fortran/trans-types.c:1420)

2018-03-20  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85001
* interface.c (symbol_rank): Remove bogus null pointer check that
crept in when translating a ternary operator into an if-else
constructor.

2018-03-20  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85001
* gfortran.dg/interface_41.f90: New test.

From-SVN: r258698
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/interface_41.f90 [new file with mode: 0644]