Hi!

I've found that gfortran.map doesn't export these 3 symbols (while it does
export other variants, with i1, i4, i8, i16, etc.).
Do we want to export them from both GCC 9.2 and 10 the following way, or
just on the trunk using GFORTRAN_10?

Tested on x86_64-linux.

Another thing is, but that one isn't just about exported symbols, but also
about not even generating such files and listing them in Makefile.am,
there are no findloc r10 entrypoints.  Is that intentional?

BTW, this shows that there is no testsuite coverage for findloc (but
apparently not for minloc, maxloc etc.) that would actually try all the
supported kinds and have at least one test for each supported kind, that
is something that would have caught this.

2019-05-17  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/54613
        * gfortran.map (GFORTRAN_9.2): New symbol version, export
        _gfortran_{,m,s}findloc0_i2 in it.

--- libgfortran/gfortran.map.jj 2019-01-14 22:13:47.503717103 +0100
+++ libgfortran/gfortran.map    2019-05-17 12:53:34.614042579 +0200
@@ -1590,3 +1590,9 @@ GFORTRAN_9 {
   __ieee_arithmetic_MOD_ieee_support_subnormal_8;
   __ieee_arithmetic_MOD_ieee_support_subnormal_noarg;
 } GFORTRAN_8;
+
+GFORTRAN_9.2 {
+  _gfortran_findloc0_i2;
+  _gfortran_mfindloc0_i2;
+  _gfortran_sfindloc0_i2;
+} GFORTRAN_9;

        Jakub

Reply via email to