Fortran : ICE in generic_correspondence PR95584
authorMark Eggleston <markeggleston@gcc.gnu.org>
Thu, 25 Jun 2020 04:16:50 +0000 (05:16 +0100)
committerMark Eggleston <markeggleston@gcc.gnu.org>
Thu, 2 Jul 2020 06:48:04 +0000 (07:48 +0100)
commit8f8ea4a47f3ab0b44b2bbf1c77db6111325d4841
treeab0e7dfc58fb1fe7cb84b05bc8ed4c3dc75e979e
parent224682ffa19a6817e4d0bde59200169c3413b532
Fortran  : ICE in generic_correspondence PR95584

Output an error for ambiguous interfaces in generic interface
instead of ICE.

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

gcc/fortran/

PR fortran/95584
* interface.c (generic_correspondence): Only use the pointer
to a symbol if exists.

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

gcc/testsuite/

PR fortran/95584
* gfortran.dg/pr95584.f90: New test.
gcc/fortran/interface.c
gcc/testsuite/gfortran.dg/pr95584.f90 [new file with mode: 0644]