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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [intrinsic_std_5.f03] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR fortran/40728
!

! bogus error
SUBROUTINE s1
  IMPLICIT NONE
  real(4), volatile :: r4

  r4 = 0.0_4
  r4 = asinh(r4)         ! { dg-error "has no IMPLICIT type" }
END SUBROUTINE



! ICE on invalid (ATANH is defined by F2008 only)
SUBROUTINE s2
  IMPLICIT NONE
  real :: r
  r = 0.4
  print *, atanh(r)      ! { dg-error "has no IMPLICIT type" }
END SUBROUTINE

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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