public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* libgfortran, ABI, and F2018 enhancements to intrinsics?  Opinions wanted
@ 2023-12-19 20:07 Harald Anlauf
  2023-12-19 21:08 ` FX Coudert
  2023-12-19 21:35 ` Steve Kargl
  0 siblings, 2 replies; 6+ messages in thread
From: Harald Anlauf @ 2023-12-19 20:07 UTC (permalink / raw)
  To: fortran

Dear all,

in Fortran 2018 a few intrinsics were extended and now support
additional optional arguments.  See PR 85836 for the meta-bug,
and in particular:

96583 - get_environment_variable
96584 - get_command
96585 - get_command_argument

with an optional ERRMSG.

How are we going to deal with this?

If we do not want to break the existing ABI, so that we can
link gfortran-13 and gfortran-14+(?) compiled code, we need
to keep _gfortran_get_command_i4 & friends, and introduce
new library functions that are able to handle the new
requirements.

Do we have recommendations for a naming scheme?
Like _gfortran_F2018_get_command_i4
or _gfortran_get_command_F2018_i4, or better?

Would it be sufficient to update gfortran.map suitably?
Or do we need to bump something else?

And would that be fine, given that 14-development is in stage-3?
Or rather wait for the next stage-1?

Thanks,
Harald



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

end of thread, other threads:[~2023-12-19 22:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-19 20:07 libgfortran, ABI, and F2018 enhancements to intrinsics? Opinions wanted Harald Anlauf
2023-12-19 21:08 ` FX Coudert
2023-12-19 22:27   ` Aw: " Harald Anlauf
2023-12-19 22:37     ` FX Coudert
2023-12-19 21:35 ` Steve Kargl
2023-12-19 22:37   ` Aw: " Harald Anlauf

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).