libgfortran: Export forgotten _gfortran_{,m,s}findloc{0,1}_c10 [PR95390]
authorJakub Jelinek <jakub@redhat.com>
Fri, 29 May 2020 17:01:50 +0000 (19:01 +0200)
committerJakub Jelinek <jakub@redhat.com>
Fri, 29 May 2020 17:01:50 +0000 (19:01 +0200)
commit316fe6b40165c26b30375f8ad85384379133f89b
treea3fa58aaccae1522834b6f52573366c5d440213f
parent1f32d5294f51614f5637d81c522fccacc124f141
libgfortran: Export forgotten _gfortran_{,m,s}findloc{0,1}_c10 [PR95390]

I have noticed we don't export these 6 symbols and thus the testcase
below fails to link.

2020-05-29  Jakub Jelinek  <jakub@redhat.com>

PR libfortran/95390
* gfortran.dg/findloc_8.f90: New test.

* Makefile.am (i_findloc0_c): Add findloc0_i10.c.
(i_findloc1_c): Add findloc1_i10.c.
* gfortran.map (GFORTRAN_10.2): New symbol version, export
_gfortran_{,m,s}findloc{0,1}_c10 symbols.
* Makefile.in: Regenerated.
* generated/findloc0_c10.c: Generated.
* generated/findloc1_c10.c: Generated.
gcc/testsuite/gfortran.dg/findloc_8.f90 [new file with mode: 0644]
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/generated/findloc0_c10.c [new file with mode: 0644]
libgfortran/generated/findloc1_c10.c [new file with mode: 0644]
libgfortran/gfortran.map