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]

[patch, fix] PR23760 Incorrect behavior in testcase


Committed as obvious to 4.1 branch. Will commit to 4.0 in near future.

2005-09-07 Jerry DeLisle <jvdelisle@verizon.net>

	PR libfortran/23760
	* gfortran.dg/g77/1832.f: Remove long string in write statement
	to allow the test to pass on correct list directed output with
	prepended space.

Currently gfortran incorrectly passes this test case without this patch. With upcoming patches to implement internal unit array I/O this test case will fail without this patch, giving an I/O error on exceeding end-of-record.

The end-of-record condition will be tested in new patches to accompany the array I/O. The 1832.f case will now be mostly historical, though it tests for a required prepended space.

Regards,

Jerry


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