new gfortran failures on darwin8

Jerry DeLisle jvdelisle@verizon.net
Thu Jun 28 05:11:00 GMT 2007


Jack Howarth wrote:
> Jerry,
>    We are still seeing these additional failures on
> powerpc-apple-darwin8/9 with current gcc trunk.
>           Jack
> 
> On Tue, Jun 26, 2007 at 10:35:18AM -0700, Jerry DeLisle wrote:
>> My recent patch to change the error format to include the file name and 
>> unit number may be the culprit.  This touched on gfortran.h so you may need 
>> to bootstrap and see if that fixes it.
>>
>> If not, I will work with you to sort this out.
>>
>> error_format is a new test case that went with the patch.  read_comma I 
>> never encountered a problem with.

Please try this simple patch first.  If it does not work, let me know and I will 
work on Plan B. :)  The patch is to unit.c in libgfortran/io/

I see that find_unit sets the private lock of the unit and requires unlock_unit. 
  Why it works on some systems without the unlock I do not know.

Thanks for reporting and testing.

Jerry



-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockfix.diff
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070628/8bcd8e3d/attachment.bin>


More information about the Fortran mailing list