With revision 142513 these test passed.
>From revision 142516 and on, these tests have failed as follows
(together with related tests:
Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gfortran.dg/dg.exp ...
...
FAIL: gfortran.dg/streamio_1.f90 -O0 execution test
FAIL: gfortran.dg/streamio_10.f90 -O0 execution test
FAIL: gfortran.dg/streamio_14.f90 -O0 execution test
FAIL: gfortran.dg/streamio_14.f90 -O1 execution test
FAIL: gfortran.dg/streamio_16.f90 -O0 execution test
FAIL: gfortran.dg/streamio_2.f90 -O0 execution test
FAIL: gfortran.dg/streamio_6.f90 -O0 execution test
FAIL: gfortran.dg/streamio_8.f90 -O0 execution test
With the messages in the logfile being all similar:
PASS: gfortran.dg/streamio_1.f90 -O0 (test for excess errors)
At line 13 of file
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gfortran.dg/streamio_1.f90 (unit = 11,
file = 'fort.11')^M
Fortran runtime error: POS=specifier too large^M
FAIL: gfortran.dg/streamio_1.f90 -O0 execution test
Remember, this is one of those targets with no truncation support
(neither ftruncate nor chsize). Is that related?
(Not evident by a glance at streamio_1.f90 but perhaps the library itself
does.)
Is this perhaps due to lack of some other support? Looks very much
seek-related.
Author of suspect patches in the revision range CC:ed, but I'll assign myself
this PR while I investigate whether there's a deficiency in the (l)seek support
of this target, particularly with -D_FILE_OFFSET_BITS=64.
--
Summary: [4.4 Regression]: gfortran.dg/streamio_1.f90, 10, 14, 2,
6 now fails
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: hp at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38430