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] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
!
4
! PR fortran/40728
5
!
6
 
7
! bogus error
8
SUBROUTINE s1
9
  IMPLICIT NONE
10
  real(4), volatile :: r4
11
 
12
  r4 = 0.0_4
13
  r4 = asinh(r4)         ! { dg-error "has no IMPLICIT type" }
14
END SUBROUTINE
15
 
16
 
17
 
18
! ICE on invalid (ATANH is defined by F2008 only)
19
SUBROUTINE s2
20
  IMPLICIT NONE
21
  real :: r
22
  r = 0.4
23
  print *, atanh(r)      ! { dg-error "has no IMPLICIT type" }
24
END SUBROUTINE

powered by: WebSVN 2.1.0

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