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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [cabs.f] - Blame information for rev 774

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

Line No. Rev Author Line
1 694 jeremybenn
c { dg-do run }
2
c { dg-xfail-run-if "PR target/16292" { mips-sgi-irix6* } { -O0 } }
3
      program cabs_1
4
      complex      z0
5
      real         r0
6
      complex(kind=8)   z1
7
      real(kind=8)       r1
8
 
9
      z0 = cmplx(3.,4.)
10
      r0 = cabs(z0)
11
      if (r0 .ne. 5.) call abort
12
 
13
      z1 = dcmplx(3.d0,4.d0)
14
      r1 = zabs(z1)
15
      if (r1 .ne. 5.d0) call abort
16
      end

powered by: WebSVN 2.1.0

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