Re: [PATCH] Fortran: fix assignment to allocatable scalar polymorphic component [PR121616]

2025-09-15 Thread Harald Anlauf
Am 15.09.25 um 22:32 schrieb Mikael Morin: Le 15/09/2025 à 21:33, Harald Anlauf a écrit : I've been wondering if there is some strategy to "differentially" debug the frontend: using a simple testcase, and replacing just a single token by another one, and see when and how the path splits and mayb

Re: Regenerating *.opt.urls doesn't do anything

2025-09-15 Thread Mark Wielaard
Hi, On Mon, Sep 15, 2025 at 08:56:15PM +0200, Arsen Arsenović via Gcc wrote: > Thomas Koenig via Gcc writes: > > I am currently working on a patch which adds an option, and > > failing in regenerating the gcc/fortran/lang.opt.urls file. > > > > I tried > > > > make -C gcc html fortran.html d.html

Re: [PATCH] Fortran: fix assignment to allocatable scalar polymorphic component [PR121616]

2025-09-15 Thread Mikael Morin
Le 15/09/2025 à 19:21, Jerry D a écrit : On 9/15/25 1:56 AM, Mikael Morin wrote: Le 14/09/2025 à 21:17, Harald Anlauf a écrit : Am 13.09.25 um 22:54 schrieb Mikael Morin: Le 12/09/2025 à 22:51, Harald Anlauf a écrit : Am 12.09.25 um 11:12 schrieb Mikael Morin: Le 11/09/2025 à 22:46, Harald A

[PATCH] fortran: allow character in conditional expression

2025-09-15 Thread Yuao Ma
Hi all, The first cond-expr patch has been committed as r16-3848-gaf53cfeb8352b1. This patch inspired me to work on an even clearer feature: allowing cond-expr to use characters. The change is small; we just need to conditionally fill the string_length. I'd like to implement this before moving on

Re: [PATCH] Fortran: fix assignment to allocatable scalar polymorphic component [PR121616]

2025-09-15 Thread Harald Anlauf
Am 15.09.25 um 19:21 schrieb Jerry D: On 9/15/25 1:56 AM, Mikael Morin wrote: Le 14/09/2025 à 21:17, Harald Anlauf a écrit : Am 13.09.25 um 22:54 schrieb Mikael Morin: Le 12/09/2025 à 22:51, Harald Anlauf a écrit : Well, the patch changes gfc_variable_attr, but see also the comment I cited. 

Re: Regenerating *.opt.urls doesn't do anything

2025-09-15 Thread Arsen Arsenović
Thomas Koenig via Gcc writes: > Hi, > > I am currently working on a patch which adds an option, and > failing in regenerating the gcc/fortran/lang.opt.urls file. > > I tried > > make -C gcc html fortran.html d.html > make -C gcc regenerate-opt-urls > > as advised in > > https://gcc.gnu.org/piperm

Regenerating *.opt.urls doesn't do anything

2025-09-15 Thread Thomas Koenig
Hi, I am currently working on a patch which adds an option, and failing in regenerating the gcc/fortran/lang.opt.urls file. I tried make -C gcc html fortran.html d.html make -C gcc regenerate-opt-urls as advised in https://gcc.gnu.org/pipermail/fortran/2024-September/061030.html but that fai

Re: [PATCH] Fortran: fix assignment to allocatable scalar polymorphic component [PR121616]

2025-09-15 Thread Jerry D
On 9/15/25 1:56 AM, Mikael Morin wrote: Le 14/09/2025 à 21:17, Harald Anlauf a écrit : Am 13.09.25 um 22:54 schrieb Mikael Morin: Le 12/09/2025 à 22:51, Harald Anlauf a écrit : Am 12.09.25 um 11:12 schrieb Mikael Morin: Le 11/09/2025 à 22:46, Harald Anlauf a écrit : Am 11.09.25 um 22:27 schr

Re: [PATCH] fortran: allow character in conditional expression

2025-09-15 Thread Tobias Burnus
Hi Yuao, Yuao Ma wrote: The first cond-expr patch has been committed as r16-3848-gaf53cfeb8352b1. This patch inspired me to work on an even clearer feature: allowing cond-expr to use characters. The change is small; we just need to conditionally fill the string_length. ... Maybe OK for trunk?

Re: [PATCH] Fortran: fix assignment to allocatable scalar polymorphic component [PR121616]

2025-09-15 Thread Mikael Morin
Le 14/09/2025 à 21:17, Harald Anlauf a écrit : Am 13.09.25 um 22:54 schrieb Mikael Morin: Le 12/09/2025 à 22:51, Harald Anlauf a écrit : Am 12.09.25 um 11:12 schrieb Mikael Morin: Le 11/09/2025 à 22:46, Harald Anlauf a écrit : Am 11.09.25 um 22:27 schrieb Mikael Morin: Le 11/09/2025 à 20:28,

Re: [PATCH] fortran: implement conditional expression for fortran 2023

2025-09-15 Thread Tobias Burnus
Yuao Ma wrote: I've got a quick question about the collapse clause in OpenMP. I've been looking at the standard, specifically section 6.4.5, and it says that the value of 'n' can't be greater than the loop nest depth. But it doesn't seem to specify what kind of expression you can use for 'n' in C