This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real
- From: "billingd at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 05:53:11 -0000
- Subject: [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Test power.f90 fails on irix6.5 for complex**real.
The reduced test case is
! Program to test the power (**) operator
program testpow
implicit none
real(kind=4) r, s, two
complex(kind=4) :: c, z
real, parameter :: del = 0.0001
c = (2.0, 3.0)
z = c ** 2
print *, 'z = ', z
two = 2.0
c = c ** two
print *, 'c = ',c
end program
with output
z = ( -5.000000 , 12.00000 )
c = ( 1.000000 , 0.000000 )
--
Summary: Test power.f90 fails on irix6.5 for complex**real
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: billingd at gcc dot gnu dot org
ReportedBy: billingd at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292