aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2014-04-05 13:25:36 +0200
committerDominique d'Humieres <dominiq@gcc.gnu.org>2014-04-05 13:25:36 +0200
commitaca5c204e1fb2425bb3fd656af6c442b19abaae0 (patch)
treee8d7ef5ca25985058c233138d8620972ba3ceb4e /gcc
parent576ba35c2a288b7e5ac7b74237a9ac57cba75cd5 (diff)
downloadgcc-aca5c204e1fb2425bb3fd656af6c442b19abaae0.zip
gcc-aca5c204e1fb2425bb3fd656af6c442b19abaae0.tar.gz
gcc-aca5c204e1fb2425bb3fd656af6c442b19abaae0.tar.bz2
warn_conversion_4.f90: Adjust test.
2014-04-05 Dominique d'Humieres <dominiq@lps.ens.fr> * gfortran.dg/warn_conversion_4.f90: Adjust test. From-SVN: r209151
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gfortran.dg/warn_conversion_4.f906
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0fff71c..a049d0a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gfortran.dg/warn_conversion_4.f90 b/gcc/testsuite/gfortran.dg/warn_conversion_4.f90
index f911741..3d1b125 100644
--- a/gcc/testsuite/gfortran.dg/warn_conversion_4.f90
+++ b/gcc/testsuite/gfortran.dg/warn_conversion_4.f90
@@ -11,8 +11,8 @@ contains
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