public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/112873] New: F2023 degree trig functions
@ 2023-12-05 23:16 kargl at gcc dot gnu.org
  2023-12-05 23:18 ` [Bug fortran/112873] " kargl at gcc dot gnu.org
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: kargl at gcc dot gnu.org @ 2023-12-05 23:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873

            Bug ID: 112873
           Summary: F2023 degree trig functions
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

Created attachment 56810
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56810&action=edit
* intrinsic.cc(add_functions): Update the standard that the various   degree
trigonometric functions come from.   (gfc_check_intrinsic_standard):  Add an
error string for F2023.

The Fortran 2023 standard has added a number degree trigonometric
functions.  See 23-007r1.pdf, p. xiii:

   The intrinsic functions ACOSD, ASIND, ATAND, ATAN2D, COSD, SIND, and
   TAND are trigonometric functions in which angles are specified in
   degrees.

gfortran already supported these functions under its DEC Fortran
compatibility and made them available under -std=gnu.  There is a
-fdec-math function, but that seems to be non-functional or I don't
understand what it does.

In any event, the attached patch changes GFC_STD_GNU to GFC_STD_F2023
where appropriate.  It also added the case for GFC_STD_F2023 for 
error messages.

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

end of thread, other threads:[~2023-12-16  0:44 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05 23:16 [Bug fortran/112873] New: F2023 degree trig functions kargl at gcc dot gnu.org
2023-12-05 23:18 ` [Bug fortran/112873] " kargl at gcc dot gnu.org
2023-12-05 23:18 ` kargl at gcc dot gnu.org
2023-12-06 20:56 ` anlauf at gcc dot gnu.org
2023-12-06 21:17 ` sgk at troutmask dot apl.washington.edu
2023-12-06 21:58 ` anlauf at gcc dot gnu.org
2023-12-07 18:26 ` sgk at troutmask dot apl.washington.edu
2023-12-07 19:59 ` anlauf at gcc dot gnu.org
2023-12-07 20:42 ` sgk at troutmask dot apl.washington.edu
2023-12-09  1:32 ` kargl at gcc dot gnu.org
2023-12-09  1:33 ` kargl at gcc dot gnu.org
2023-12-10 21:45 ` anlauf at gcc dot gnu.org
2023-12-11  2:46 ` sgk at troutmask dot apl.washington.edu
2023-12-11 19:34 ` anlauf at gcc dot gnu.org
2023-12-11 19:53 ` jvdelisle at gcc dot gnu.org
2023-12-11 20:04 ` anlauf at gcc dot gnu.org
2023-12-11 21:00 ` sgk at troutmask dot apl.washington.edu
2023-12-13 17:36 ` jvdelisle at gcc dot gnu.org
2023-12-13 18:43 ` sgk at troutmask dot apl.washington.edu
2023-12-14 17:03 ` jvdelisle at gcc dot gnu.org
2023-12-14 17:15 ` sgk at troutmask dot apl.washington.edu
2023-12-14 17:42 ` anlauf at gcc dot gnu.org
2023-12-14 18:37 ` cvs-commit at gcc dot gnu.org
2023-12-14 19:11 ` jvdelisle at gcc dot gnu.org
2023-12-14 19:31 ` jvdelisle at gcc dot gnu.org
2023-12-14 19:48 ` anlauf at gcc dot gnu.org
2023-12-14 20:04 ` sgk at troutmask dot apl.washington.edu
2023-12-14 20:16 ` jvdelisle at gcc dot gnu.org
2023-12-14 20:35 ` jvdelisle at gcc dot gnu.org
2023-12-14 20:44 ` sgk at troutmask dot apl.washington.edu
2023-12-14 21:46 ` jvdelisle at gcc dot gnu.org
2023-12-14 22:09 ` anlauf at gcc dot gnu.org
2023-12-15  3:04 ` jvdelisle at gcc dot gnu.org
2023-12-15 21:11 ` jvdelisle at gcc dot gnu.org
2023-12-15 21:41 ` anlauf at gcc dot gnu.org
2023-12-16  0:44 ` jvdelisle 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).