OSDN Git Service

* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Oct 2004 17:07:18 +0000 (17:07 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Oct 2004 17:07:18 +0000 (17:07 +0000)
gfortran.dg/ishft.f90: Add more tests. Add dg-warning in followup
commit.

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

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

index 9cb3d14..c3827ea 100644 (file)
@@ -1,7 +1,8 @@
 2004-10-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
 
        * gfortran.fortran-torture/execute/intrinsic_mvbits.f90, 
-       gfortran.dg/ishft.f90: Add more tests.
+       gfortran.dg/ishft.f90: Add more tests. Add dg-warning in followup
+       commit.
 
 2004-10-07  Andrew Pinski  <pinskia@physics.uc.edu>
 
index f7800bd..d8ca3a7 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
+if (ishft (-1_8, -60) /= z'F'_8) call abort ! { dg-warning "" "" }
 
 if (ishftc (1_1, 0) /= 1) call abort
 if (ishftc (1_1, 1) /= 2) call abort
index 086589a..c9fbe78 100644 (file)
@@ -10,6 +10,6 @@ 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)
-if (to8 /= b'10100'_8) call abort
+call mvbits (b'1011'_8*2_8**32, 33, 3, to8, 2) ! { dg-warning "" "" }
+if (to8 /= b'10100'_8) call abort ! { dg-warning "" "" }
 end