From: Dominique d'Humieres Date: Sat, 5 Apr 2014 11:25:36 +0000 (+0200) Subject: warn_conversion_4.f90: Adjust test. X-Git-Tag: basepoints/gcc-5~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca5c204e1fb2425bb3fd656af6c442b19abaae0;p=thirdparty%2Fgcc.git warn_conversion_4.f90: Adjust test. 2014-04-05 Dominique d'Humieres * gfortran.dg/warn_conversion_4.f90: Adjust test. From-SVN: r209151 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0fff71c01922..a049d0a2b539 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-04-05 Dominique d'Humieres + + * gfortran.dg/warn_conversion_4.f90: Adjust test. + 2014-05-04 Pitchumani Sivanupandi * 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 f911741f534b..3d1b12582b3e 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