OSDN Git Service

2007-11-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Nov 2007 01:51:04 +0000 (01:51 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Nov 2007 01:51:04 +0000 (01:51 +0000)
PR fortran/33317
* gfortran.dg/optional_dim_2.f90: Remove test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130305 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/optional_dim_2.f90 [deleted file]

index 9284fb7..e93fa8a 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/33317
+       * gfortran.dg/optional_dim_2.f90: Remove test.
+
 2007-11-19  Peter Bergner  <bergner@vnet.ibm.com>
 
        * gcc.dg/dfp/ddmode-ice.c: New test.
diff --git a/gcc/testsuite/gfortran.dg/optional_dim_2.f90 b/gcc/testsuite/gfortran.dg/optional_dim_2.f90
deleted file mode 100644 (file)
index a1ab4c7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-! { dg-do run }
-! PR33317 CSHIFT/EOSHIFT: Rejects optional dummy for DIM=
-! Test case submitted by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
-program test
- implicit none
- call sub(bound=(/.false.,.true.,.true.,.true./), dimmy=1_8)
- call sub()
-contains
- subroutine sub(bound, dimmy)
-   integer(kind=8), optional :: dimmy
-   logical, optional :: bound(4)
-   logical :: lotto(4)
-   character(20) :: testbuf
-   lotto = .false.
-   lotto = cshift((/.true.,.false.,.true.,.false./),1,dim=dimmy)
-   write(testbuf,*) lotto
-   if (trim(testbuf).ne." F T F T") call abort
-   lotto = .false.
-   lotto = eoshift((/.true.,.true.,.true.,.true./),1,boundary=bound,dim=dimmy)
-   lotto = eoshift(lotto,1,dim=dimmy)
-   write(testbuf,*) lotto
-   if (trim(testbuf).ne." T T F F") print *, testbuf
- end subroutine
-end program test