public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real
@ 2004-06-30  6:17 billingd at gcc dot gnu dot org
  2004-07-01  6:38 ` [Bug fortran/16292] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-06-30  6:17 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug fortran/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
@ 2004-07-01  6:38 ` pinskia at gcc dot gnu dot org
  2004-07-01  6:40 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-01  6:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-01 06:38 -------
hmm,   
  two = 2.0e+0;
  T.1 = COMPLEX_EXPR <two, 0.0>;
  T.2 = cpowf (c, T.1);
  c = T.2;

maybe cpowf does not work at all on this target or it is excepting a different ABI.
Could you test this C code and show what the output is as this is what the fortran code does.
#include <math.h>
#include <complex.h>
#include <stdio.h>

int main()
{
  _Complex float t, t1;
  t = 2 + 3.0fi;
  t1 = cpowf (t, 2);
  printf ("%f\t%f\n", crealf (t1),  cimagf (t1));
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug fortran/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
  2004-07-01  6:38 ` [Bug fortran/16292] " pinskia at gcc dot gnu dot org
@ 2004-07-01  6:40 ` pinskia at gcc dot gnu dot org
  2004-07-01  7:15 ` david dot billinghurst at comalco dot riotinto dot com dot au
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-01  6:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-01 06:40 -------
s/excepting/expecting/ :)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug fortran/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
  2004-07-01  6:38 ` [Bug fortran/16292] " pinskia at gcc dot gnu dot org
  2004-07-01  6:40 ` pinskia at gcc dot gnu dot org
@ 2004-07-01  7:15 ` david dot billinghurst at comalco dot riotinto dot com dot au
  2004-07-01  7:20 ` [Bug target/16292] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: david dot billinghurst at comalco dot riotinto dot com dot au @ 2004-07-01  7:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au  2004-07-01 07:15 -------
Subject: RE:  Test power.f90 fails on irix6.5 for complex**real

That is the problem.  gcc doesn't do complex floating point on irix (yet).




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-01  7:15 ` david dot billinghurst at comalco dot riotinto dot com dot au
@ 2004-07-01  7:20 ` pinskia at gcc dot gnu dot org
  2004-07-01 23:13 ` billingd at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-01  7:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-01 07:20 -------
Confirmed, then this is an ABI problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|fortran                     |target
     Ever Confirmed|                            |1
           Keywords|                            |ABI
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-01 07:20:44
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-01  7:20 ` [Bug target/16292] " pinskia at gcc dot gnu dot org
@ 2004-07-01 23:13 ` billingd at gcc dot gnu dot org
  2004-08-02  4:53 ` billingd at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-01 23:13 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |16322


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-07-01 23:13 ` billingd at gcc dot gnu dot org
@ 2004-08-02  4:53 ` billingd at gcc dot gnu dot org
  2004-08-02  6:01 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-08-02  4:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From billingd at gcc dot gnu dot org  2004-08-02 04:53 -------
Test gfortran.dg/g77/cabs.f fails for similar reasons.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-08-02  4:53 ` billingd at gcc dot gnu dot org
@ 2004-08-02  6:01 ` cvs-commit at gcc dot gnu dot org
  2004-08-19 19:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-02  6:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-02 06:00 -------
Subject: Bug 16292

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	billingd@gcc.gnu.org	2004-08-02 06:00:55

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gfortran.dg/g77: cabs.f 

Log message:
	2004-08-02  David Billinghurst
	
	PR fortran/16292
	* gfortran.dg/g77/cabs.f: xfail on mips-sgi-irix6*

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4082&r2=1.4083
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/cabs.f.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-08-02  6:01 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-19 19:02 ` pinskia at gcc dot gnu dot org
  2004-08-20  1:10 ` billingd at gcc dot gnu dot org
  2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-19 19:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-19 19:02 -------
Does this work now?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-08-19 19:02 ` pinskia at gcc dot gnu dot org
@ 2004-08-20  1:10 ` billingd at gcc dot gnu dot org
  2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 14+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-08-20  1:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From billingd at gcc dot gnu dot org  2004-08-20 01:10 -------
power.f90 fixed by Richard Sandiford's complex ABI patch.
cabs still fails for different reason.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
  2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-08-20  1:10 ` billingd at gcc dot gnu dot org
@ 2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25 16:59 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
       [not found] <bug-16292-4@http.gcc.gnu.org/bugzilla/>
  2011-03-31 15:32 ` ro at gcc dot gnu.org
  2011-03-31 15:32 ` ro at gcc dot gnu.org
@ 2011-03-31 15:33 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 14+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-31 15:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292

--- Comment #11 from Rainer Orth <ro at gcc dot gnu.org> 2011-03-31 15:11:28 UTC ---
Author: ro
Date: Thu Mar 31 15:11:20 2011
New Revision: 171786

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171786
Log:
    PR target/16292
    * gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
    with -O0 except with -mabi=32.

Modified:
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/g77/cabs.f


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
       [not found] <bug-16292-4@http.gcc.gnu.org/bugzilla/>
@ 2011-03-31 15:32 ` ro at gcc dot gnu.org
  2011-03-31 15:32 ` ro at gcc dot gnu.org
  2011-03-31 15:33 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 14+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-31 15:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292

--- Comment #9 from Rainer Orth <ro at gcc dot gnu.org> 2011-03-31 15:02:39 UTC ---
Author: ro
Date: Thu Mar 31 15:02:33 2011
New Revision: 171784

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171784
Log:
    PR target/16292
    * gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
    with -O0.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/g77/cabs.f


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug target/16292] Test power.f90 fails on irix6.5 for complex**real
       [not found] <bug-16292-4@http.gcc.gnu.org/bugzilla/>
  2011-03-31 15:32 ` ro at gcc dot gnu.org
@ 2011-03-31 15:32 ` ro at gcc dot gnu.org
  2011-03-31 15:33 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 14+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-31 15:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16292

--- Comment #10 from Rainer Orth <ro at gcc dot gnu.org> 2011-03-31 15:05:53 UTC ---
Author: ro
Date: Thu Mar 31 15:05:47 2011
New Revision: 171785

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171785
Log:
    PR target/16292
    * gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
    with -O0.

Modified:
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/g77/cabs.f


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-31 15:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-30  6:17 [Bug fortran/16292] New: Test power.f90 fails on irix6.5 for complex**real billingd at gcc dot gnu dot org
2004-07-01  6:38 ` [Bug fortran/16292] " pinskia at gcc dot gnu dot org
2004-07-01  6:40 ` pinskia at gcc dot gnu dot org
2004-07-01  7:15 ` david dot billinghurst at comalco dot riotinto dot com dot au
2004-07-01  7:20 ` [Bug target/16292] " pinskia at gcc dot gnu dot org
2004-07-01 23:13 ` billingd at gcc dot gnu dot org
2004-08-02  4:53 ` billingd at gcc dot gnu dot org
2004-08-02  6:01 ` cvs-commit at gcc dot gnu dot org
2004-08-19 19:02 ` pinskia at gcc dot gnu dot org
2004-08-20  1:10 ` billingd at gcc dot gnu dot org
2004-08-25 16:59 ` pinskia at gcc dot gnu dot org
     [not found] <bug-16292-4@http.gcc.gnu.org/bugzilla/>
2011-03-31 15:32 ` ro at gcc dot gnu.org
2011-03-31 15:32 ` ro at gcc dot gnu.org
2011-03-31 15:33 ` ro at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).