diff mbox

[committed] Adjust gfortran.dg/warn_conversion_4.f90

Message ID 20140405113032.979B0107@mailhost.lps.ens.fr
State New
Headers show

Commit Message

Dominique d'Humières April 5, 2014, 11:30 a.m. UTC
The test gfortran.dg/warn_conversion_4.f90 has to be adjusted after
r209133. Committed as obvious as r209151.

Dominique
diff mbox

Patch

Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog	(revision 209150)
+++ gcc/testsuite/ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2014-04-05  Dominique d'Humieres <dominiq@lps.ens.fr>
+
+	* gfortran.dg/warn_conversion_4.f90: Adjust test.
+
 2014-05-04 Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
 
 	* gcc.target/avr/dev-specific-rmw.c: New test.
Index: gcc/testsuite/gfortran.dg/warn_conversion_4.f90
===================================================================
--- gcc/testsuite/gfortran.dg/warn_conversion_4.f90	(revision 209150)
+++ gcc/testsuite/gfortran.dg/warn_conversion_4.f90	(working copy)
@@ -11,8 +11,8 @@ 
   subroutine test
     integer :: x
     x = int (abs (cmplx(2.3,0.1)))
-    x = int (abs (cmplx(2.3_dp,0.1))) ! { dg-warning "Conversion from REAL.8. to default-kind COMPLEX.4. at .1. might loose precision, consider using the KIND argument" }
-    x = int (abs (cmplx(2.3,0.1_dp))) ! { dg-warning "Conversion from REAL.8. to default-kind COMPLEX.4. at .1. might loose precision, consider using the KIND argument" }
-    x = int (abs (cmplx(2.3_dp,0.1_dp))) ! { dg-warning "Conversion from REAL.8. to default-kind COMPLEX.4. at .1. might loose precision, consider using the KIND argument" }
+    x = int (abs (cmplx(2.3_dp,0.1))) ! { dg-warning "Conversion from REAL.8. to default-kind COMPLEX.4. at .1. might lose precision, consider using the KIND argument" }
+    x = int (abs (cmplx(2.3,0.1_dp))) ! { dg-warning "Conversion from REAL.8. to default-kind COMPLEX.4. at .1. might lose precision, consider using the KIND argument" }
+    x = int (abs (cmplx(2.3_dp,0.1_dp))) ! { dg-warning "Conversion from REAL.8. to default-kind COMPLEX.4. at .1. might lose precision, consider using the KIND argument" }
   end subroutine test
 end module fft_mod