From: Richard Biener Date: Thu, 3 May 2018 07:33:09 +0000 (+0000) Subject: re PR fortran/85579 (accepts invalid fortran test case gfortran.dg/pr51434.f90) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2901468a9ed394160042aaf32d9910ce5b9096f;p=gcc.git re PR fortran/85579 (accepts invalid fortran test case gfortran.dg/pr51434.f90) 2018-05-03 Richard Biener PR testsuite/85579 * fortran.dg/pr51434.f90: Truncate transfer argument. From-SVN: r259880 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 670845608fa..f87151f5e87 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-05-03 Richard Biener + + PR testsuite/85579 + * fortran.dg/pr51434.f90: Truncate transfer argument. + 2018-05-02 Jakub Jelinek PR target/85582 diff --git a/gcc/testsuite/gfortran.dg/pr51434.f90 b/gcc/testsuite/gfortran.dg/pr51434.f90 index 31679ec5d78..49bca660931 100644 --- a/gcc/testsuite/gfortran.dg/pr51434.f90 +++ b/gcc/testsuite/gfortran.dg/pr51434.f90 @@ -6,7 +6,7 @@ module foo character(len=1), parameter :: s(n) = 'a' type :: a integer :: m = n - character(len=1):: t(n) = transfer('abcde ', s) + character(len=1):: t(n) = transfer('abcde', s) end type a end module foo