[PATCH, part2] PR fortran/98411 [10/11/12 Regression] Pointless: Array larger than ‘-fmax-stack-var-size=’, ...

2021-08-04 Thread Harald Anlauf via Fortran
Dear all, here's the second part that should fix this regression for good. The patch also adjusts the warning message to make it easier to understand, using the suggestion by Tobias (see PR). Since F2018 in principle makes RECURSIVE the default, which might conflict with the purpose of the testca

[RFC, Fortran] Fix c_float128 and c_float128_complex on targets with 128-bit long double.

2021-08-04 Thread Sandra Loosemore
I was trying last week to run my not-yet-committed TS29113 testsuite on a powerpc64le-linux-gnu target and ran into some problems with the kind constants c_float128 and c_float128_complex from the ISO_C_BINDING module; per the gfortran manual they are supposed to represent the kind of the gcc e

Re: [PATCH 1/7] fortran: new abstract class gfc_dummy_arg

2021-08-04 Thread Mikael Morin
Le 04/08/2021 à 09:05, Thomas Koenig a écrit : So far, we have refrained from adding too much explicit C++-isms into the code, and if we do, my participation at least will have to be reduced sharply (I don't speak much C++, and I don't intend to learn). So, is this a path we want to go down? I

Re: [PATCH 3/3] [PR libfortran/101305] Fix ISO_Fortran_binding.h paths in gfortran testsuite

2021-08-04 Thread Andreas Schwab
On Jul 13 2021, Sandra Loosemore wrote: > diff --git a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c > b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c > index a571459..9da5d85 100644 > --- a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c > +++ b/gcc/testsuite/gfortran.dg/ISO_Fortran_bi

Re: [PATCH 1/7] fortran: new abstract class gfc_dummy_arg

2021-08-04 Thread Thomas Koenig via Fortran
Hi Mikael, Introduce a new abstract class gfc_dummy_arg that provides a common interface to both dummy arguments of user-defined procedures (which have type gfc_formal_arglist) and dummy arguments of intrinsic procedures (which have type gfc_intrinsic_arg). good to see you again! So far, we