Re: Replacing keyword in RISC-V Fortran

2021-10-25 Thread Arjen Markus via Fortran
I am not sure I understand your question correctly, but Fortran uses the KIND mechanism to declare the precise characteristics of floating-point variables and constants. Typically, these are identifying integer numbers for single precision, double precision and quadruple precision. A custom floatin

Re: [PATCH,Fortran 1/7] Fortran: make some trans* functions static

2021-10-25 Thread Bernhard Reutner-Fischer via Fortran
On Mon, 25 Oct 2021 08:43:09 +0200 Tobias Burnus wrote: > Hi Thomas, > > On 25.10.21 07:47, Thomas Koenig via Fortran wrote: > > what you're doing seems a useful clean-up, thanks. > > > > One point for discussion: > >> -match > >> +static match > >> gfc_match_label (void) > > I have genera

Re: [PATCH,Fortran 0/7] delete some unused decls, make static

2021-10-25 Thread Bernhard Reutner-Fischer via Fortran
On Mon, 25 Oct 2021 00:30:16 +0200 Bernhard Reutner-Fischer wrote: > Hi! > > Quickly skimming through the frontend headers. > There are a couple of declarations for functions that do not have > definitions. And there are a couple of functions that can be static. > Bootstraps fine, regression te

[Fortran] Fix broken use of alloca in C interoperability testcase

2021-10-25 Thread Sandra Loosemore
This patch is for PR102910. There's no reason why the testcase in question needs to use alloca, but I wasn't aware there were portability issues with it until I saw this issue. I think this fix is probably obvious and will commit it tomorrow unless I get some feedback on it meanwhile. -Sand