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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [double_complex_1.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
! { dg-options "--std=f95" }
3
! PR18565
4
! As we provide "double complex" versions of certain intrinsics an extension.
5
! However --std=f95 was also breaking the generic versions, which should work
6
! on any type kind.
7
program prog
8
  complex(kind=kind(0d0)) :: c
9
  print *, abs(c)
10
  print *, aimag(c)
11
  print *, conjg(c)
12
  print *, cos(c)
13
  print *, exp(c)
14
  print *, log(c)
15
  print *, sin(c)
16
  print *, sqrt(c)
17
end program
18
 

powered by: WebSVN 2.1.0

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