[PATCH, v3] Fortran: deferred-length character optional dummy arguments [PR93762,PR100651]

2023-12-01 Thread Harald Anlauf
Dear all, this patch extends the previous version by adding further code testing the presence of an optional deferred-length character argument also in the function initialization code. This allows to re-enable a commented-out test in v2. Regtested on x86_64-pc-linux-gnu. OK for mainline? Tha

Re: [PATCH] Fortran: copy-out for possibly missing OPTIONAL CLASS arguments [PR112772]

2023-12-01 Thread Harald Anlauf
Hi Mikael, On 12/1/23 21:24, Mikael Morin wrote: Hello, Le 30/11/2023 à 22:06, Harald Anlauf a écrit : the attached rather obvious patch fixes the first testcase of pr112772: we unconditionally generated copy-out code for optional class arguments, while the copy-in properly checked the presenc

Re: [PATCH] Fortran: copy-out for possibly missing OPTIONAL CLASS arguments [PR112772]

2023-12-01 Thread Mikael Morin
Hello, Le 30/11/2023 à 22:06, Harald Anlauf a écrit : the attached rather obvious patch fixes the first testcase of pr112772: we unconditionally generated copy-out code for optional class arguments, while the copy-in properly checked the presence of arguments. Regtested on x86_64-pc-linux-gnu.

[pushed] wwwdocs: benchmarks: Remove http://annwm.lbl.gov/bench/

2023-12-01 Thread Gerald Pfeifer
This has been unreachable for months (at least). If any of you is aware of some other link to add to https://gcc.gnu.org/benchmarks/ please let me know. Gerald --- htdocs/benchmarks/index.html | 7 --- 1 file changed, 7 deletions(-) diff --git a/htdocs/benchmarks/index.html b/htdocs/benchma

gfortran preprocessor compiler options

2023-12-01 Thread Rasmus Vikhamar-Sandberg
Hello. I have a question. I posted it first on stackoverflow. https://stackoverflow.com/questions/77585795/how-do-i-get-gfortran-to-generate-architecture-specific-predefined-macros. The question is how do I get gfortran to generate architecture specific predefined macros like __SSE2__, __AVX__ an