OSDN Git Service

* gfortran.dg/ishft.f90: Remove kind suffix from BOZ constant
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2005 00:40:03 +0000 (00:40 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2005 00:40:03 +0000 (00:40 +0000)
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90: ditto

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

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ishft.f90
gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_mvbits.f90

index 5c55f5f..3cab286 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-27  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       * gfortran.dg/ishft.f90:  Remove kind suffix from BOZ constant
+       * gfortran.fortran-torture/execute/intrinsic_mvbits.f90: ditto
+
+
 2005-02-27  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        PR libfortran/20101
index d8ca3a7..88edd30 100644 (file)
@@ -25,7 +25,7 @@ if (ishft (1_8, 0) /= 1) call abort
 if (ishft (1_8, 1) /= 2) call abort
 if (ishft (3_8, 1) /= 6) call abort
 if (ishft (-1_8, 1) /= -2) call abort
-if (ishft (-1_8, -60) /= z'F'_8) call abort ! { dg-warning "" "" }
+if (ishft (-1_8, -60) /= z'F') call abort
 
 if (ishftc (1_1, 0) /= 1) call abort
 if (ishftc (1_1, 1) /= 2) call abort
index c9fbe78..3437e9f 100644 (file)
@@ -1,6 +1,6 @@
 ! Test the MVBITS intrinsic subroutine
 INTEGER*4 :: from, to, result
-integer*8 :: to8
+integer*8 :: from8, to8
 
 DATA from / z'0003FFFC' /
 DATA to / z'77760000' /
@@ -9,7 +9,8 @@ DATA result / z'7777FFFE' /
 CALL mvbits(from, 2, 16, to, 1)
 if (to /= result) CALL abort()
 
-to8 = 0
-call mvbits (b'1011'_8*2_8**32, 33, 3, to8, 2) ! { dg-warning "" "" }
-if (to8 /= b'10100'_8) call abort ! { dg-warning "" "" }
+to8 = 0_8
+from8 = b'1011'*2_8**32
+call mvbits (from8, 33, 3, to8, 2)
+if (to8 /= b'10100') call abort
 end