There was a regression for gfortran.dg/fmt_en.f90 for cris-elf
that on inspection was due to it having acquired a truncation
call through the runtime. I updated that and the new tests that
had "Fortran runtime error: required ftruncate or chsize support
not present" messages in gfortran.log, ran past cris-elf and
committed as obvious. See also
<https://gcc.gnu.org/ml/gcc-patches/2008-05/msg00975.html> from
which I copy-pasted most of this message. (Yep, 11 years ago.)
gcc/testsuite:
* gfortran.dg/dec_io_1.f90, gfortran.dg/dtio_1.f90,
gfortran.dg/dtio_12.f90, gfortran.dg/fmt_en.f90,
gfortran.dg/namelist_89.f90: Gate test on effective_target
fd_truncate.
From-SVN: r271536
+2019-05-23 Hans-Peter Nilsson <hp@axis.com>
+
+ * gfortran.dg/dec_io_1.f90, gfortran.dg/dtio_1.f90,
+ gfortran.dg/dtio_12.f90, gfortran.dg/fmt_en.f90,
+ gfortran.dg/namelist_89.f90: Gate test on effective_target
+ fd_truncate.
+
2019-05-22 David Malcolm <dmalcolm@redhat.com>
PR c++/90462
-! { dg-do run }
+! { dg-do run { target fd_truncate } }
! { dg-options "-fdec" }
!
! Run-time tests for values of DEC I/O parameters (doesn't test functionality).
-! { dg-do run }
+! { dg-do run { target fd_truncate } }
!
! Functional test of User Defined Derived Type IO, Formatted WRITE/READ
!
-! { dg-do run }
+! { dg-do run { target fd_truncate } }
!
! Test the fix for PR77657 in which the DTIO subroutine was not found,
! which led to an error in attempting to link to the abstract interface.
-! { dg-do run }
+! { dg-do run { target fd_truncate } }
! PR60128 Invalid outputs with EN descriptors
! Test case provided by Walt Brainerd.
program pr60128
-! { dg-do run }
+! { dg-do run { target fd_truncate } }
! PR69456 Namelist value with trailing sign is ignored without error
implicit none
integer :: ios