public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/18791] CABS specifics declared of wrong type
       [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
@ 2006-09-29 13:21 ` fxcoudert at gcc dot gnu dot org
  2006-09-29 13:22 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-09-29 13:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2006-09-29 13:21 -------
Assigning this to myself, as I have a patch cooking. A testcase is (on
i686-linux):

$ cat cdabs.f 
      subroutine foo(f)
      implicit none
      real*8 f
      complex*16 z

      z = (1.,1.)
      print *, f(z)
      end

      implicit none
      intrinsic cdabs
      call foo(cdabs)
      end
$ gfortran cdabs.f && ./a.out
                     NaN
$ gfortran cdabs.f -O3 && ./a.out
                     NaN
zsh: segmentation fault  ./a.out


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pbrook at gcc dot gnu dot   |fxcoudert at gcc dot gnu dot
                   |org                         |org


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


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

* [Bug libfortran/18791] CABS specifics declared of wrong type
       [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
  2006-09-29 13:21 ` [Bug libfortran/18791] CABS specifics declared of wrong type fxcoudert at gcc dot gnu dot org
@ 2006-09-29 13:22 ` fxcoudert at gcc dot gnu dot org
  2006-09-29 20:41 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-09-29 13:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2006-09-29 13:22 -------
And also: that's a regression wrt g77.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19292
              nThis|                            |
      Known to fail|                            |4.1.1 4.2.0


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


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

* [Bug libfortran/18791] CABS specifics declared of wrong type
       [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
  2006-09-29 13:21 ` [Bug libfortran/18791] CABS specifics declared of wrong type fxcoudert at gcc dot gnu dot org
  2006-09-29 13:22 ` fxcoudert at gcc dot gnu dot org
@ 2006-09-29 20:41 ` fxcoudert at gcc dot gnu dot org
  2006-10-02  9:37 ` [Bug libfortran/18791] [4.1 only] " fxcoudert at gcc dot gnu dot org
  2006-10-02  9:38 ` [Bug libfortran/18791] " fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-09-29 20:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-09-29 20:41 -------
Subject: Bug 18791

Author: fxcoudert
Date: Fri Sep 29 20:41:11 2006
New Revision: 117317

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117317
Log:
        PR fortran/18791

        * gfortran.dg/specifics_1.f90: New test.
        * gfortran.fortran-torture/execute/specifics.f90: Add tests for
        complex specifics.

        * m4/specific.m4: Special-case cabs so that its return type is
        real. Special-case conjg so that their suffices are _4, _8, _10 and
        _16 instead of _c4, _c8, _c10 and _c16.
        * intrinsics/f2c_specifics.F90: Special-case conjg functions so
        that their suffices are _4 and _8 instead of _c4 and _c8.
        * generated/_conjg_c4.F90: Regenerate.
        * generated/_conjg_c8.F90: Regenerate.
        * generated/_conjg_c10.F90: Regenerate.
        * generated/_conjg_c16.F90: Regenerate.
        * generated/_abs_c4.F90: Regenerate.
        * generated/_abs_c8.F90: Regenerate.
        * generated/_abs_c10.F90: Regenerate.
        * generated/_abs_c16.F90: Regenerate.

Added:
    trunk/gcc/testsuite/gfortran.dg/specifics_1.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.fortran-torture/execute/specifics.f90
    trunk/libgfortran/generated/_abs_c10.F90
    trunk/libgfortran/generated/_abs_c16.F90
    trunk/libgfortran/generated/_abs_c4.F90
    trunk/libgfortran/generated/_abs_c8.F90
    trunk/libgfortran/generated/_conjg_c10.F90
    trunk/libgfortran/generated/_conjg_c16.F90
    trunk/libgfortran/generated/_conjg_c4.F90
    trunk/libgfortran/generated/_conjg_c8.F90
    trunk/libgfortran/m4/specific.m4


-- 


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


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

* [Bug libfortran/18791] [4.1 only] CABS specifics declared of wrong type
       [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-09-29 20:41 ` fxcoudert at gcc dot gnu dot org
@ 2006-10-02  9:37 ` fxcoudert at gcc dot gnu dot org
  2006-10-02  9:38 ` [Bug libfortran/18791] " fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-10-02  9:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2006-10-02 09:37 -------
Subject: Bug 18791

Author: fxcoudert
Date: Mon Oct  2 09:37:09 2006
New Revision: 117369

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117369
Log:
        PR fortran/18791

        * gfortran.dg/specifics_1.f90: New test.
        * gfortran.fortran-torture/execute/specifics.f90: Add tests for
        complex specifics.

        * m4/specific.m4: Special-case cabs so that its return type is
        real. Special-case conjg so that their suffices are _4, _8, _10 and
        _16 instead of _c4, _c8, _c10 and _c16.
        * intrinsics/f2c_specifics.F90: Special-case conjg functions so
        that their suffices are _4 and _8 instead of _c4 and _c8.
        * generated/_conjg_c4.F90: Regenerate.
        * generated/_conjg_c8.F90: Regenerate.
        * generated/_conjg_c10.F90: Regenerate.
        * generated/_conjg_c16.F90: Regenerate.
        * generated/_abs_c4.F90: Regenerate.
        * generated/_abs_c8.F90: Regenerate.
        * generated/_abs_c10.F90: Regenerate.
        * generated/_abs_c16.F90: Regenerate.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/specifics_1.f90
      - copied unchanged from r117317,
trunk/gcc/testsuite/gfortran.dg/specifics_1.f90
Modified:
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
   
branches/gcc-4_1-branch/gcc/testsuite/gfortran.fortran-torture/execute/specifics.f90
    branches/gcc-4_1-branch/libgfortran/ChangeLog
    branches/gcc-4_1-branch/libgfortran/generated/_abs_c10.F90
    branches/gcc-4_1-branch/libgfortran/generated/_abs_c16.F90
    branches/gcc-4_1-branch/libgfortran/generated/_abs_c4.F90
    branches/gcc-4_1-branch/libgfortran/generated/_abs_c8.F90
    branches/gcc-4_1-branch/libgfortran/generated/_conjg_c10.F90
    branches/gcc-4_1-branch/libgfortran/generated/_conjg_c16.F90
    branches/gcc-4_1-branch/libgfortran/generated/_conjg_c4.F90
    branches/gcc-4_1-branch/libgfortran/generated/_conjg_c8.F90
    branches/gcc-4_1-branch/libgfortran/intrinsics/f2c_specifics.F90
    branches/gcc-4_1-branch/libgfortran/m4/specific.m4


-- 


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


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

* [Bug libfortran/18791] CABS specifics declared of wrong type
       [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-10-02  9:37 ` [Bug libfortran/18791] [4.1 only] " fxcoudert at gcc dot gnu dot org
@ 2006-10-02  9:38 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-10-02  9:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from fxcoudert at gcc dot gnu dot org  2006-10-02 09:38 -------
Fixed on both 4.2 and 4.1


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|4.1.1                       |
      Known to work|4.2.0                       |4.2.0 4.1.1
         Resolution|                            |FIXED
            Summary|[4.1 only] CABS specifics   |CABS specifics declared of
                   |declared of wrong type      |wrong type
   Target Milestone|---                         |4.1.2


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


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

* [Bug libfortran/18791] CABS specifics declared of wrong type
  2004-12-02 19:28 [Bug libfortran/18791] New: " tobi at gcc dot gnu dot org
@ 2004-12-02 19:32 ` pbrook at gcc dot gnu dot org
  0 siblings, 0 replies; 6+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-12-02 19:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-02 19:32:28
               date|                            |


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


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

end of thread, other threads:[~2006-10-02  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
2006-09-29 13:21 ` [Bug libfortran/18791] CABS specifics declared of wrong type fxcoudert at gcc dot gnu dot org
2006-09-29 13:22 ` fxcoudert at gcc dot gnu dot org
2006-09-29 20:41 ` fxcoudert at gcc dot gnu dot org
2006-10-02  9:37 ` [Bug libfortran/18791] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-10-02  9:38 ` [Bug libfortran/18791] " fxcoudert at gcc dot gnu dot org
2004-12-02 19:28 [Bug libfortran/18791] New: " tobi at gcc dot gnu dot org
2004-12-02 19:32 ` [Bug libfortran/18791] " pbrook at gcc dot gnu dot 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).