[Patch, libfortran] PR 40812 Large file support on MinGW

Danny Smith dannysmith@clear.net.nz
Thu Dec 3 00:39:00 GMT 2009


----- Original Message ----- 
From: "Kai Tietz"


> 2009/12/2 Tobias Burnus;
>> Janne Blomqvist wrote:
>>> on IRC Kai Tietz reported that the patch regtested on mingw with no
>>> new regressions, and also the large file testcase in the PR went
>>> successfully.
>>>
>>
>> I think Kai tested only MinGW64 and not MinGW.org; thus if someone (e.g.
>> Danny) could also test MinGW it would surely help.
>
> I tested this for w64's x86 and x64, and for mingw.org's x86 version.
>
>>> OTOH Danny Smith has offered to contribute an implementation that
>>> doesn't break pre-w2k backwards compatibility, so I think it's best to
>>> put this on hold for
>>
>> I agree.
>
> Yes, here I agree, too.

Test of  Janne's patch on mingw32 (using Vista) shows problems.
Although it fixes the testcases in the PR,  I get new failure
FAIL: gfortran.dg/PR19872.f execution test

Ditto for my revised patch that is pre-w2k compatible.

I suspect one problem is that we fail to lock the lowio handle for the 
filedes in raw_truncate, as would be done in the libc chsize().  The lowio 
stuff (eg, the ioinfo control structure) is not fully documented by MS, 
although some of it is exposed in 3rd party code.

Kai, did you get the PR19872.f  failure in your testsuite runs?

Danny



More information about the Gcc-patches mailing list