Re: [patch] Fortran: fix prototype for class vptr fields

2020-09-06 Thread FX via Gcc-patches
> Could you maybe put a FIXME at that place, explaining that we are > in fact following K&R conventions there and what we would need > to correc the function decl to use build_function_type_list? Done. FX

Re: [patch] Fortran: fix prototype for class vptr fields

2020-09-06 Thread Thomas Koenig via Gcc-patches
Am 06.09.20 um 13:12 schrieb FX via Fortran: Hi FX, OK to commit? The patch is OK in principle, I have also regtested it on POWER (which is also somethat picky about calling conventions). However, in an ideal world, this should only be a temporary fix. Could you maybe put a FIXME at that pl

[patch] Fortran: fix prototype for class vptr fields

2020-09-06 Thread FX via Gcc-patches
Hi, Attached is a patch fixing the problem at: https://gcc.gnu.org/pipermail/fortran/2020-September/054978.html the reasoning behind the solution is explained here: https://gcc.gnu.org/pipermail/fortran/2020-September/054997.html In short, calls to class copy functions are made with wrong funct