From: Mikael Morin <morin-mikael@orange.fr>
To: Thomas Koenig <tkoenig@netcologne.de>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>,
gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [fortran, RFC] Getting rid of unneeded functions in libgfortran
Date: Mon, 10 Jul 2017 21:28:00 -0000 [thread overview]
Message-ID: <2907726b-bb6c-4a05-4b52-678b7b33298f@orange.fr> (raw)
In-Reply-To: <8d590b03-2b7d-d9db-b8be-f812129586c7@netcologne.de>
Hello,
Le 10/07/2017 à 20:43, Thomas Koenig a écrit :
> Hello world,
>
> with the bump in the libfortran version that is needed with
> Paul's patch, I think we can get rid of a few functions
> that we do not actually need any more.
>
> I think we now always inline SUM and PRODUCT. We don't do so with all
> occurrences of ANY and ALL, but we probably could (and should).
>
We donât inline when the dim argument isnât constant. As far as I know,
this is a valid albeit rare use case for the library functions.
> So, is it a worthy goal to eliminate all occurences of these
> functions from libgfortran before 8.1 comes out?
>
Yes, letâs remove what we can. But the list of candidates is probably
shorter than you hoped. TRANSPOSE seems to have been removed already.
SUM, PRODUCT, ANY and ALL must stay (see above). What else?
Mikael
next prev parent reply other threads:[~2017-07-10 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-10 18:44 Thomas Koenig
2017-07-10 21:28 ` Mikael Morin [this message]
2017-07-10 22:15 ` Thomas Koenig
2017-07-10 21:30 ` Ulrich Drepper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2907726b-bb6c-4a05-4b52-678b7b33298f@orange.fr \
--to=morin-mikael@orange.fr \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=tkoenig@netcologne.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).