[patch,gfortran] Fix PR17917 - module equivalences
Paul THOMAS
paulthomas2@wanadoo.fr
Thu Jun 16 16:20:00 GMT 2005
(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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: equiv.txt
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050616/9a20d26b/attachment.txt>
More information about the Fortran
mailing list