public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/21915] New: Would like atanh etc. as intrinsics
@ 2005-06-04 19:20 schnetter at aei dot mpg dot de
  2005-06-04 23:16 ` [Bug fortran/21915] " schnetter at aei dot mpg dot de
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-06-04 19:20 UTC (permalink / raw)
  To: gcc-bugs

I would be nice if the functions atanh etc. (acosh, asinh, atanh, cosh, sinh, 
tanh) were available as intrinsics.  These functions are not part of the 
Fortran 2003 standard.  But they are defined e.g. in C's <math.h> or 
<tgmath.h>, and other Fortran compilers provide these as well.

-- 
           Summary: Would like atanh etc. as intrinsics
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
@ 2005-06-04 23:16 ` schnetter at aei dot mpg dot de
  2005-06-05  9:54 ` tobi at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-06-04 23:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schnetter at aei dot mpg dot de  2005-06-04 23:16 -------
Created an attachment (id=9030)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9030&action=view)
Failing source code


-- 


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
  2005-06-04 23:16 ` [Bug fortran/21915] " schnetter at aei dot mpg dot de
@ 2005-06-05  9:54 ` tobi at gcc dot gnu dot org
  2005-06-05 17:56 ` kargl at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-06-05  9:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-05 09:54:08
               date|                            |


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
  2005-06-04 23:16 ` [Bug fortran/21915] " schnetter at aei dot mpg dot de
  2005-06-05  9:54 ` tobi at gcc dot gnu dot org
@ 2005-06-05 17:56 ` kargl at gcc dot gnu dot org
  2005-06-05 18:08 ` schnetter at aei dot mpg dot de
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-06-05 17:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kargl at gcc dot gnu dot org  2005-06-05 17:56 -------
It unclear to me what the relationship is between your requested
extension and the attached code transform_global.f90.  A quick
glance through the rather long piece of code shows no use of the
hyperbolic functions.

-- 


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (2 preceding siblings ...)
  2005-06-05 17:56 ` kargl at gcc dot gnu dot org
@ 2005-06-05 18:08 ` schnetter at aei dot mpg dot de
  2005-06-08  5:26 ` jvdelisle at verizon dot net
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-06-05 18:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schnetter at aei dot mpg dot de  2005-06-05 18:08 -------
(From update of attachment 9030)
I attached this source code by mistake; it should have gone to a different PR. 
Sorry.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #9030 is|0                           |1
           obsolete|                            |


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (3 preceding siblings ...)
  2005-06-05 18:08 ` schnetter at aei dot mpg dot de
@ 2005-06-08  5:26 ` jvdelisle at verizon dot net
  2005-06-24 23:07 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at verizon dot net @ 2005-06-08  5:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2005-06-08 05:26 -------
We have sinh, cosh, tanh.  I will work on the asinh, acosh, and atanh.

-- 


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (4 preceding siblings ...)
  2005-06-08  5:26 ` jvdelisle at verizon dot net
@ 2005-06-24 23:07 ` cvs-commit at gcc dot gnu dot org
  2005-06-24 23:10 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-24 23:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-24 23:07 -------
Subject: Bug 21915

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jvdelisle@gcc.gnu.org	2005-06-24 23:07:15

Modified files:
	libgfortran    : ChangeLog Makefile.am Makefile.in aclocal.m4 
	                 c99_protos.h config.h.in configure configure.ac 

Log message:
	2005-06-24  Jerry DeLisle <jvdelisle@verizon.net>
	
	PR libfortran/21915
	* Makefile.am: include intrinsics/hyper.c
	* c99_protos.h: add prototypes for single precision versions of
	acosh, asinh, and atanh for platforms that do not have these
	* config.h.in: add #undef for wrappers
	* configure.ac: add checks for single precision versions
	* aclocal.m4: generated
	* Makefile.in: generated
	* configure: generated

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.248&r2=1.249
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.am.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.in.diff?cvsroot=gcc&r1=1.39&r2=1.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/aclocal.m4.diff?cvsroot=gcc&r1=1.12&r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/c99_protos.h.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/config.h.in.diff?cvsroot=gcc&r1=1.21&r2=1.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.diff?cvsroot=gcc&r1=1.39&r2=1.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.ac.diff?cvsroot=gcc&r1=1.29&r2=1.30



-- 


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (5 preceding siblings ...)
  2005-06-24 23:07 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-24 23:10 ` cvs-commit at gcc dot gnu dot org
  2005-06-24 23:12 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-24 23:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-24 23:10 -------
Subject: Bug 21915

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jvdelisle@gcc.gnu.org	2005-06-24 23:09:49

Added files:
	libgfortran/intrinsics: hyper.c 

Log message:
	2005-06-24  Jerry DeLisle <jvdelisle@verizon.net>
	
	PR libfortran/21915
	* intrinsics/hyper.c: New file, adds wrapper functions

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/hyper.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug fortran/21915] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (6 preceding siblings ...)
  2005-06-24 23:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-24 23:12 ` cvs-commit at gcc dot gnu dot org
  2005-06-25 18:18 ` [Bug fortran/21915] [4.0 only] " pinskia at gcc dot gnu dot org
  2005-07-25  4:14 ` jvdelisle at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-24 23:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-24 23:12 -------
Subject: Bug 21915

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jvdelisle@gcc.gnu.org	2005-06-24 23:12:32

Modified files:
	gcc/fortran    : ChangeLog gfortran.h intrinsic.c intrinsic.h 
	                 iresolve.c mathbuiltins.def simplify.c 

Log message:
	2005-06-24  Jerry DeLisle <jvdelisle@verizon.net>
	
	PR fortran/21915
	* gfortran.h: Add symbols for new intrinsics
	* intrinsic.c: Add acosh, asinh, and atanh
	* intrinsic.h: Add prototypes
	* iresolve.c (gfc_resolve_acosh): New function
	(gfc_resolve_asinh): New
	(gfc_resolve_atanh): New
	* mathbuiltins.def: Add defines
	* simplify.c (gfc_simplify_acosh): New function
	(gfc_simplify_asinh): New
	(gfc_simplify_atanh): New

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.472&r2=1.473
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&r1=1.71&r2=1.72
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gcc&r1=1.49&r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.h.diff?cvsroot=gcc&r1=1.29&r2=1.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gcc&r1=1.34&r2=1.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/mathbuiltins.def.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/simplify.c.diff?cvsroot=gcc&r1=1.27&r2=1.28



-- 


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


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

* [Bug fortran/21915] [4.0 only] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (7 preceding siblings ...)
  2005-06-24 23:12 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-25 18:18 ` pinskia at gcc dot gnu dot org
  2005-07-25  4:14 ` jvdelisle at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-25 18:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Would like atanh etc. as    |[4.0 only] Would like atanh
                   |intrinsics                  |etc. as intrinsics
   Target Milestone|---                         |4.0.2


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


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

* [Bug fortran/21915] [4.0 only] Would like atanh etc. as intrinsics
  2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
                   ` (8 preceding siblings ...)
  2005-06-25 18:18 ` [Bug fortran/21915] [4.0 only] " pinskia at gcc dot gnu dot org
@ 2005-07-25  4:14 ` jvdelisle at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2005-07-25  4:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at gcc dot gnu dot org  2005-07-25 03:27 -------
This has been applied to mainline and 4.0 branch

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


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


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

end of thread, other threads:[~2005-07-25  3:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-04 19:20 [Bug fortran/21915] New: Would like atanh etc. as intrinsics schnetter at aei dot mpg dot de
2005-06-04 23:16 ` [Bug fortran/21915] " schnetter at aei dot mpg dot de
2005-06-05  9:54 ` tobi at gcc dot gnu dot org
2005-06-05 17:56 ` kargl at gcc dot gnu dot org
2005-06-05 18:08 ` schnetter at aei dot mpg dot de
2005-06-08  5:26 ` jvdelisle at verizon dot net
2005-06-24 23:07 ` cvs-commit at gcc dot gnu dot org
2005-06-24 23:10 ` cvs-commit at gcc dot gnu dot org
2005-06-24 23:12 ` cvs-commit at gcc dot gnu dot org
2005-06-25 18:18 ` [Bug fortran/21915] [4.0 only] " pinskia at gcc dot gnu dot org
2005-07-25  4:14 ` jvdelisle 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).