This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran, RFC] Getting rid of unneeded functions in libgfortran


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]