This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Generate C prototypes from Fortran code
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 1 Aug 2017 20:17:23 +0200
- Subject: Re: [patch, fortran] Generate C prototypes from Fortran code
- Authentication-results: sourceware.org; auth=none
- References: <8ccb52b8-fa27-156d-40fa-9ad52297030d@netcologne.de> <63e15c45-1b71-9057-fb0e-f737a8f24304@netcologne.de> <CAGkQGi+jR4MwYjpC7ZMXJtJvWSa2GxObjqeyp4bd-i=2oCPqtg@mail.gmail.com>
HI Paul,
This reminds me of project that I once started to translate fortran
into C using a similar option. I gave up in the end because I found it
more convenient to use a tree dump and modify the declarations by
hand. In respect of your query about suggestions, how about outputting
non_interop array descriptors?
Hmm... definitely something to think about. I predict the
imminent death of TS 29113 if we do that :-)
Anyway, it looks good to me - OK for trunk.
Thanks - committed as r250791.
Regards
Thomas