This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2007 11:26:22 -0000
- Subject: [Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers
- References: <bug-32580-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from burnus at gcc dot gnu dot org 2007-10-16 11:26 -------
> Since adding c_f_procpointer might change the fortran runtime library, will
> this addition be OK for 4.4 ?
Additions of functions is no problem; also modifying functions
arguments/functionality is no problem. However, obsolete (i.e. unused)
functions remain in the library (for old programs).
If the function interface is changed, the old function remains in the library
(with the old version number) and the new version of the function is added.
If symbol versioning is supported (e.g. under Linux), old programs continue to
work flawlessly with new libraries.
Thus: Library interface changes before 4.3.0 is released are nice, because one
will not need to carry obsolete functions along; otherwise the development is
not hampered at all. For procedure pointers, I expect that one doesn't need to
touch the library at at all (but I might be wrong).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32580