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

            Bug ID: 109659
           Summary: gcc_builtin module for gfortran
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

There are lots of useful builtin functions in gcc which Fortran currently
does not have access to.  Just think of checking for integer overflow,
which gcc offers as __builtin_add_overflow().

Extending the language with new intrinsics is probably not a good idea
because, if things like that are later taken up, they will be made
incompatible by the committee.

So, I propose to add an intrinsic gcc_builtin module, which could then
export Fortran versions of those builtin functions that we think are
useful.

Thought? Comments?

Reply via email to