re PR fortran/61765 ([F03] Rejects valid BIND(C) ENTRY)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 13 Jan 2019 04:02:46 +0000 (04:02 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 13 Jan 2019 04:02:46 +0000 (04:02 +0000)
commit264201216816c9145e40b856628a6c3e3eec6178
treebfc587e82ff21643f71f383cbccb6b5e61562198
parentd6072c195dcf1911b4659a4266f7d0f2f5fc97d9
re PR fortran/61765 ([F03] Rejects valid BIND(C) ENTRY)

2019-01-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/61765
* resolve.c (gfc_verify_binding_labels): Break if-elseif-elseif
structure into independent if's with a return to simplify logic.
Avoid a check for ENTRY name with bind(c).

2019-01-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/61765
* gfortran.dg/pr61765.f90: New test.

From-SVN: r267902
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr61765.f90 [new file with mode: 0644]