[patch, Fortran] Fix 15/16 regression when non-interoperable types were dumped

Thomas Koenig tkoenig@netcologne.de
Tue May 13 20:15:33 GMT 2025


Hello world,

the attached patch fixes a 15/16 regression and should be fairly
self-explanatory.

Regarding testing: I'm not sure I am up to the task of hacking
dejagnu to do this. I am now running local tests, which is
better than nothing (I guess).

Regression-testing: Passed, though this does not mean a lot.
I have attached the test script which passed.

Fix dumping non-interoperable types with -fc-prototypes.

gcc/fortran/ChangeLog:

	PR fortran/120107
	* dump-parse-tree.cc (write_type): Do not dump non-interoperable
	types.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr120107-1.diff
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250513/6d885cff/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-pr120107.sh
Type: application/x-shellscript
Size: 134 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250513/6d885cff/attachment-0001.bin>


More information about the Fortran mailing list