This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]