public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/109659] New: gcc_builtin module for gfortran
@ 2023-04-28 5:17 tkoenig at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: tkoenig at gcc dot gnu.org @ 2023-04-28 5:17 UTC (permalink / raw)
To: gcc-bugs
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?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-28 5:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 5:17 [Bug fortran/109659] New: gcc_builtin module for gfortran tkoenig 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).