Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-25 Thread Tobias Burnus
Hi Yua, Yuao Ma wrote: I noticed that this patch was already committed as r16-3154-g587b8a62f50179! Sorry for the delay in committing. I committed it + wrote an email about it during my vacation, but seemingly, I forgot to hit "send". (I found it in my draft emails.) Tobias

Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-14 Thread Yuao Ma
Hi Tobias, I noticed that this patch was already committed as r16-3154-g587b8a62f50179! Thanks, Yuao

Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-07 Thread Yuao Ma
explanation! YuaoFrom 590cce1b335c781355d8518ad9c14502b127130a Mon Sep 17 00:00:00 2001 From: Yuao Ma Date: Thu, 7 Aug 2025 22:35:17 +0800 Subject: [PATCH] fortran: add optional lower arg to c_f_pointer This patch adds support for the optional lower argument in intrinsic c_f_pointer specified in

Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-07 Thread Tobias Burnus
Yuao Ma wrote: On 8/6/2025 10:57 PM, Yuao Ma wrote: On 8/6/2025 4:32 PM, Tobias Burnus wrote: Hi Yuao, thanks for your patch. I have two nits: * There is no diagnostic for -std=f2018 (or lower);    can you add the 'gfc_notify_std (GFC_STD_F2023' ? Done. Testcase added. Given the "Fortran

Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-06 Thread Yuao Ma
sues, the token location in check.cc and the removal of unnecessary braces for single statements after an else clause. Thanks, Yuao From 41c6172ddc053c4c902e81d60e061bd6901a4e31 Mon Sep 17 00:00:00 2001 From: Yuao Ma Date: Wed, 6 Aug 2025 23:01:14 +0800 Subject: [PATCH] fortran: add optio

Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-06 Thread Yuao Ma
ents after an else clause. Thanks, YuaoFrom e885ab884b15ef052a3faaefff679065bfe714d0 Mon Sep 17 00:00:00 2001 From: Yuao Ma Date: Wed, 6 Aug 2025 22:48:46 +0800 Subject: [PATCH] fortran: add optional lower arg to c_f_pointer This patch adds support for the optional lower argument in intrinsic c_f_poin

Re: [PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-06 Thread Tobias Burnus
Hi Yuao, thanks for your patch. I have two nits: * There is no diagnostic for -std=f2018 (or lower); can you add the 'gfc_notify_std (GFC_STD_F2023' ? * I have a minor documentation nit; current wording is at https://gcc.gnu.org/onlinedocs/gfortran/C_005fF_005fPOINTER.html Namely, ... Yu

[PATCH] fortran: add optional lower arg to c_f_pointer

2025-08-05 Thread Yuao Ma
oFrom 74eba4dbd7601ca4c854b0e6138b6bffc727222a Mon Sep 17 00:00:00 2001 From: Yuao Ma Date: Tue, 5 Aug 2025 23:33:16 +0800 Subject: [PATCH] fortran: add optional lower arg to c_f_pointer This patch adds support for the optional lower argument in intrinsic c_f_pointer specified in Fortran 2023. Test case