On 01.07.21 08:00, Sandra Loosemore wrote:
This patch fixes the failures in interoperability/fc-descriptor-8.f90
in my just-posted TS 29113 testsuite:
https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574115.html

The problem here is that the routines that copy between GFC and CFI
descriptors think they both use the same version number conventions,
but the GFC descriptors' version is zero-initialized elsewhere and
CFI_VERSION is defined to be 1.  It seems incorrect to expect the
internal and external descriptor ABIs to be in lock step together anyway.

OK to check in?


OK – and thanks for the patch!

I note that the FE does not explicitly set the version but it inits the
descriptor such that it happens that value the version field is
'\0'-fied; additionally, neither libgfortran nor the FE ever access the
version field.

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München 
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank 
Thürauf

Reply via email to