[Bug fortran/86587] Derived-type with attributes BIND(C) and PRIVATE raises an error but standard accepts it
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 21 00:01:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86587
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Jun 21 00:01:23 2019
New Revision: 272533
URL: https://gcc.gnu.org/viewcvs?rev=272533&root=gcc&view=rev
Log:
2019-06-20 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from mainline
PR fortran/86587
* symbol.c (verify_bind_c_derived_type): Remove erroneous error
checking for BIND(C) and PRIVATE attributes.
2019-06-20 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from mainline
PR fortran/86587
* gfortran.dg/pr86587.f90: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr86587.f90
Modified:
branches/gcc-9-branch/gcc/fortran/ChangeLog
branches/gcc-9-branch/gcc/fortran/symbol.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list