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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! Bug 45794 - ICE: Segmentation fault in gfc_conv_procedure_call
3
subroutine foo (vector, mask)
4
  real :: vector(:)
5
  logical, optional :: mask(:)
6
  integer :: loc(1)
7
  if (present(mask)) then
8
    loc = maxloc(vector, mask)
9
  end if
10
end subroutine

powered by: WebSVN 2.1.0

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