This is the mail archive of the gcc-patches@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] |
Hi all, here is a simple patch for an issue related to module loading/writing and type extension. The problem is that 'write_derived_extensions' writes all extensions of a type to the module file, without checking if they are private. This creates trouble in reading the module file, when one tries to load the private symbol. The patch was regtested on x86_64-unknown-linux-gnu without failures. Ok for trunk? Cheers, Janus gcc/fortran/ 2009-12-11 Janus Weil <janus@gcc.gnu.org> PR fortran/42257 * module.c (write_dt_extensions): Check for accessibility. gcc/testsuite/ 2009-12-11 Janus Weil <janus@gcc.gnu.org> PR fortran/42257 * gfortran.dg/extends_9.f03: New test.
Attachment:
pr42257.diff
Description: Binary data
Attachment:
extends_9.f03
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |