This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/60355] [F08] constraint C519 for BIND attribute not enforced


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60355

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Aug 11 17:45:36 2017
New Revision: 251054

URL: https://gcc.gnu.org/viewcvs?rev=251054&root=gcc&view=rev
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/bind_c_usage_30.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]