diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2019-05-23 02:18:49 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2019-05-23 02:18:49 +0000 |
commit | 6dac25d1ee4644deaea053911f0f3da84fa8cb6d (patch) | |
tree | 4e44faad216ca6095e0d221045002e2661cfc1fa | |
parent | 30d3ba5142311df568e8f62a374d83d0bdab42bf (diff) | |
download | gcc-6dac25d1ee4644deaea053911f0f3da84fa8cb6d.zip gcc-6dac25d1ee4644deaea053911f0f3da84fa8cb6d.tar.gz gcc-6dac25d1ee4644deaea053911f0f3da84fa8cb6d.tar.bz2 |
There was a regression for gfortran.dg/fmt_en.f90 for cris-elf that on...
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/dec_io_1.f90 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/dtio_1.f90 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/dtio_12.f90 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/fmt_en.f90 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/namelist_89.f90 | 2 |
6 files changed, 12 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 788f3e0..56808cf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +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 diff --git a/gcc/testsuite/gfortran.dg/dec_io_1.f90 b/gcc/testsuite/gfortran.dg/dec_io_1.f90 index 2edc427..58daf30 100644 --- a/gcc/testsuite/gfortran.dg/dec_io_1.f90 +++ b/gcc/testsuite/gfortran.dg/dec_io_1.f90 @@ -1,4 +1,4 @@ -! { 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). diff --git a/gcc/testsuite/gfortran.dg/dtio_1.f90 b/gcc/testsuite/gfortran.dg/dtio_1.f90 index c6f17d9..b168d30 100644 --- a/gcc/testsuite/gfortran.dg/dtio_1.f90 +++ b/gcc/testsuite/gfortran.dg/dtio_1.f90 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do run { target fd_truncate } } ! ! Functional test of User Defined Derived Type IO, Formatted WRITE/READ ! diff --git a/gcc/testsuite/gfortran.dg/dtio_12.f90 b/gcc/testsuite/gfortran.dg/dtio_12.f90 index 54b10cb..ac6d9e7 100644 --- a/gcc/testsuite/gfortran.dg/dtio_12.f90 +++ b/gcc/testsuite/gfortran.dg/dtio_12.f90 @@ -1,4 +1,4 @@ -! { 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. diff --git a/gcc/testsuite/gfortran.dg/fmt_en.f90 b/gcc/testsuite/gfortran.dg/fmt_en.f90 index b3597e4..89011b3 100644 --- a/gcc/testsuite/gfortran.dg/fmt_en.f90 +++ b/gcc/testsuite/gfortran.dg/fmt_en.f90 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do run { target fd_truncate } } ! PR60128 Invalid outputs with EN descriptors ! Test case provided by Walt Brainerd. program pr60128 diff --git a/gcc/testsuite/gfortran.dg/namelist_89.f90 b/gcc/testsuite/gfortran.dg/namelist_89.f90 index fbb7143..91f64fe 100644 --- a/gcc/testsuite/gfortran.dg/namelist_89.f90 +++ b/gcc/testsuite/gfortran.dg/namelist_89.f90 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do run { target fd_truncate } } ! PR69456 Namelist value with trailing sign is ignored without error implicit none integer :: ios |