re PR fortran/60355 ([F08] constraint C519 for BIND attribute not enforced)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 11 Aug 2017 17:45:36 +0000 (17:45 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 11 Aug 2017 17:45:36 +0000 (17:45 +0000)
commitc4fa898440e0b5eb540253e67c7ada61af0d52a2
tree9b9933505e7211399953b43071d776a252681b8e
parent0a29142da68c793fefacf83e579b11902c9e9602
re PR fortran/60355 ([F08] constraint C519 for BIND attribute not enforced)

2017-08-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60355
* resolve.c (resolve_symbol): Adjust (and reformat)
comment.  Perform check if a BIND(C) is declared
at module level regardless of whether it is typed
implicitly or not.

2017-08-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60355
* gfortran.dg (bind_c_usage_30): New test.

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