Commit 4567f969 by Janne Blomqvist

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  <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
parent a7085816
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> 2017-01-03 Jeff Law <law@redhat.com>
PR tree-optimization/78856 PR tree-optimization/78856
......
...@@ -11,4 +11,4 @@ program main ...@@ -11,4 +11,4 @@ program main
a%x = a%x(2:3) a%x = a%x(2:3)
print *,a%x print *,a%x
end program main end program main
! { dg-final { scan-tree-dump-times "__var_1" 4 "original" } } ! { dg-final { scan-tree-dump-times "__var_1" 3 "original" } }
...@@ -14,4 +14,4 @@ subroutine BytesToString(bytes, string) ...@@ -14,4 +14,4 @@ subroutine BytesToString(bytes, string)
character(len=*) :: string character(len=*) :: string
string = transfer(bytes, string) string = transfer(bytes, string)
end subroutine end subroutine
! { dg-final { scan-tree-dump-times "MIN_EXPR" 1 "original" } } ! { dg-final { scan-tree-dump-times "MIN_EXPR" 2 "original" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment