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]

[patch,gfortran] Fix PR17917 - module equivalences


(Properly tabbed version is attached.)

2005-06-17 Paul Thomas 
PR fortran/17917
Port from g95.
* module.c (load_equiv): New function.
(read_module): Call load_equiv.
(write_equiv): New function. Correct string referencing for
gfc functions.
(write_module): Call write_equiv.
* trans_decl.c (gfc_create_module_variable): Return for
equivalenced symbols with existing backend declaration.
* gfortran.h (gfc_equiv): Add field for module name.

2005-06-17 Paul Thomas 
PR fortran/17917
* gfortran.dg/module_equiv.f90: New.

This has been regtested on the 20050515 snapshot/Cygwin_NT. I will bootstrap and regtest
with cvs at the beginning of next week, when I return from this trip. OK for mainline and
4.0x?

If somebody else is willing and able to do the committing before I can, please be my guest.

Paul T

Attachment: equiv.txt
Description: Text document


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