https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77278

--- Comment #29 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Created attachment 46493
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46493&action=edit
Patch to put all libgfortran functions into a namespace

This is something we should be doing as part of making libgfortran
LTO-compatible.  It adds all resolved library function to the libgfortran
namespace.

This does not work (i.e. causes regressions) because of functions like
pack, unpack, cshift etc where we call the same function with
different types of arguments.  We should be calling this via
gfc_array_char.  For example, here's eoshift0.c:

static void
eoshift0 (gfc_array_char * ret, const gfc_array_char * array,
          index_type shift, const char * pbound, int which, index_type size,
          const char *filler, index_type filler_len)

[...]

Reply via email to