PR 78796 Modify testcases due to gfc_trans_string_copy change
authorJanne Blomqvist <jb@gcc.gnu.org>
Wed, 4 Jan 2017 08:06:54 +0000 (10:06 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Wed, 4 Jan 2017 08:06:54 +0000 (10:06 +0200)
As r244011 had to be reverted, this change adds back the testcase
changes that are needed due to r244003.

2017-01-04  Janne Blomqvist  <jb@gcc.gnu.org>

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

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_49.f90
gcc/testsuite/gfortran.dg/transfer_intrinsic_1.f90

index cadfbc977ce4804fa0cc681860711670a303cf7d..4a1caa7bb04fd9730a88eea2fba87d1fb1ef7c95 100644 (file)
@@ -1,3 +1,13 @@
+2017-01-04  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       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  <law@redhat.com>
 
        PR tree-optimization/78856
index 73d517e8f765a4372442ec1b4f0ccf4d9f58529f..43ee284169fed138596d0c916b8ad52fa4e8e33b 100644 (file)
@@ -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" } }
index 5f46cd0bccf3a4bf9a53b8c2908196d26dfe51d1..73a7e7724f5b08c790a53625e994afd57f2aeb2d 100644 (file)
@@ -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" } }