From: Janne Blomqvist Date: Wed, 4 Jan 2017 08:06:54 +0000 (+0200) Subject: PR 78796 Modify testcases due to gfc_trans_string_copy change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4567f969b29aeeb2877d23ee08133f09dbada93d;p=gcc.git PR 78796 Modify testcases due to gfc_trans_string_copy change As r244011 had to be reverted, this change adds back the testcase changes that are needed due to r244003. 2017-01-04 Janne Blomqvist PR fortran/78534 PR fortran/78976 * gfortran.dg/dependency_49.f90: Change scan-tree-dump-times due to gfc_trans_string_copy change to avoid -Wstringop-overflow. * gfortran.dg/transfer_intrinsic_1.f90: Change scan-tree-dump-times due to gfc_trans_string_copy change to avoid -Wstringop-overflow. From-SVN: r244048 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cadfbc977ce..4a1caa7bb04 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2017-01-04 Janne Blomqvist + + PR fortran/78534 + PR fortran/78976 + * gfortran.dg/dependency_49.f90: Change scan-tree-dump-times + due to gfc_trans_string_copy change to avoid -Wstringop-overflow. + * gfortran.dg/transfer_intrinsic_1.f90: Change + scan-tree-dump-times due to gfc_trans_string_copy change to + avoid -Wstringop-overflow. + 2017-01-03 Jeff Law PR tree-optimization/78856 diff --git a/gcc/testsuite/gfortran.dg/dependency_49.f90 b/gcc/testsuite/gfortran.dg/dependency_49.f90 index 73d517e8f76..43ee284169f 100644 --- a/gcc/testsuite/gfortran.dg/dependency_49.f90 +++ b/gcc/testsuite/gfortran.dg/dependency_49.f90 @@ -11,4 +11,4 @@ program main a%x = a%x(2:3) print *,a%x end program main -! { dg-final { scan-tree-dump-times "__var_1" 4 "original" } } +! { dg-final { scan-tree-dump-times "__var_1" 3 "original" } } diff --git a/gcc/testsuite/gfortran.dg/transfer_intrinsic_1.f90 b/gcc/testsuite/gfortran.dg/transfer_intrinsic_1.f90 index 5f46cd0bccf..73a7e7724f5 100644 --- a/gcc/testsuite/gfortran.dg/transfer_intrinsic_1.f90 +++ b/gcc/testsuite/gfortran.dg/transfer_intrinsic_1.f90 @@ -14,4 +14,4 @@ subroutine BytesToString(bytes, string) character(len=*) :: string string = transfer(bytes, string) end subroutine -! { dg-final { scan-tree-dump-times "MIN_EXPR" 1 "original" } } +! { dg-final { scan-tree-dump-times "MIN_EXPR" 2 "original" } }