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

            Bug ID: 89236
           Summary: Intrinsic documentation changes for intrinsics
                    affected by GNU extension
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark.eggleston at codethink dot com
  Target Milestone: ---

Created attachment 45626
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45626&action=edit
Add GNU extension notes to DIM, MOD, MODULO, MAX and MIN

Missing notes regarding GNU extension.

The second parameters of DIM, MOD and MODULO require the addition of:

(As a GNU extension, arguments of different kinds are permitted.)

The kind of the return types of these intrinsics and MAX and MIN, are dependent
on the larger of the kinds of the input parameters hence the addition of:

(As a GNU extension, kind is the largest kind of the input parameters.)

Patch is attached.

For trunk and currently supported compilers.

Reply via email to