OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [minmaxloc_6.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR35994 [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask
3
  REAL DDA(5:104)
4
  dda = (/(J1,J1=1,100)/)
5
 
6
  IDS = MAXLOC(DDA,1)
7
  if (ids.ne.100) call abort  !expect 100
8
  IDS = MAXLOC(DDA,1, (/(J1,J1=1,100)/) > 50)
9
  if (ids.ne.100) call abort  !expect 100
10
 
11
  END

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.