Change AArch64 specific FMAX/FMIN tests into generic MAX_EXPR/MIN_EXPR tests

gfortran now always uses MAX_EXPR/MIN_EXPR for MAX/MIN intrinsics, so the
AArch64 specific FMAX/FMIN tests are no longer valid.

2018-08-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* gfortran.dg/max_fmax_aarch64.f90: Rename to...
	* gfortran.dg/max_expr.f90: ...this.
	* gfortran.dg/min_fmin_aarch64.f90: Rename to...
	* gfortran.dg/min_expr.f90: ...this.

From-SVN: r263778
This commit is contained in:
Szabolcs Nagy 2018-08-22 15:12:05 +00:00 committed by Kyrylo Tkachov
parent 90cb08ca01
commit 3543c89f5f
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2018-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
* gfortran.dg/max_fmax_aarch64.f90: Rename to...
* gfortran.dg/max_expr.f90: ...this.
* gfortran.dg/min_fmin_aarch64.f90: Rename to...
* gfortran.dg/min_expr.f90: ...this.
2018-08-22 Richard Sandiford <richard.sandiford@arm.com>
PR tree-optimization/86725

View file

@ -1,4 +1,4 @@
! { dg-do compile { target aarch64*-*-* } }
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-optimized" }
subroutine foo (a, b, c, d, e, f, g, h)
@ -12,4 +12,4 @@ subroutine foof (a, b, c, d, e, f, g, h)
end subroutine
! { dg-final { scan-tree-dump-times "\.FMAX " 14 "optimized" } }
! { dg-final { scan-tree-dump-times "MAX_EXPR " 14 "optimized" } }

View file

@ -1,4 +1,4 @@
! { dg-do compile { target aarch64*-*-* } }
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-optimized" }
subroutine foo (a, b, c, d, e, f, g, h)
@ -12,4 +12,4 @@ subroutine foof (a, b, c, d, e, f, g, h)
a = min (a, b, c, d, e, f, g, h)
end subroutine
! { dg-final { scan-tree-dump-times "\.FMIN " 14 "optimized" } }
! { dg-final { scan-tree-dump-times "MIN_EXPR " 14 "optimized" } }