This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Fortran 2003 IO and related ABI issues (PR libfortran/37839)


Jakub Jelinek wrote:
Hi!

As I've explained in the PR, there are several issues with the recent
additions of F2003 IO support, some of them cause incompatibilities
between f951 expected field layout and libgfortran on some arches
(and incompatibilities between 4.3 f951 generated code and 4.4
libgfortran) and INQUIRE additions not being tested at all and broken for
most of the newly added fields.

The following patch tries to fix it.  Bootstrapped/regtested on x86_64-linux
and dg.exp=f2003*.f03 tested also on x86_64-linux/-m32 and
powerpc64-linux/{-m32,-m64}.  I have also run a gfortran 4.3 compiled x86_64
and i386 program and verified under debugger that stack after dt_parm_*
vars isn't clobbered by the calls.  Ok for trunk?


Yes, thanks very much. I have copied the 4.4 library over to the 4.3 build directory and ran the 4.3 testsuite and all appears fine.


Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]