[pushed] testsuite: Fix unallocated array usage in test

2025-07-10 Thread Mikael Morin
Le 08/07/2025 à 22:17, Harald Anlauf a écrit : A corresponding fix is approved. For some reason the sanitizers didn't work on my machine, they didn't work on cfarm135, but I was able to confirm they were catching an error on the testcase on cfarm421. Now fixed.From ca034694757f0fb3461a1d0c

Re: [PATCH, v2] Fortran: fix minor issues with coarrays (extended)

2025-07-10 Thread Harald Anlauf
Hi Andre, Am 10.07.25 um 13:24 schrieb Andre Vehreschild: Hi Harald, sorry for all the confusion. Probably my understanding of a pure elemental routine is imperfect. I therefore first like to express what I need an a caf-accessor. In a caf-accessor I have only access to data that is "exported"

[PATCH 3/3] fortran: Amend descriptor bounds init if unallocated

2025-07-10 Thread Mikael Morin
From: Mikael Morin Regression tested on x86_64-pc-linux-gnu. OK for master? -- >8 -- Always generate the conditional initialization of unallocated variables regardless of the basic variable allocation tracking done in the frontend and with an additional always false condition. The scalarizer u

[PATCH 2/3] fortran: Delay evaluation of array bounds after reallocation

2025-07-10 Thread Mikael Morin
From: Mikael Morin Regression tested on x86_64-pc-linux-gnu. OK for master? -- >8 -- Delay the evaluation of bounds, offset, etc after the reallocation, for the scalarization of allocatable arrays on the left hand side of assignments. Before this change, the code preceding the scalarization lo

[PATCH 0/3] fortran: Reallocation on assignment tweaks

2025-07-10 Thread Mikael Morin
From: Mikael Morin Hello, here are three patches as follow-up to this message. These started as an attempt to remove the PR fortran/108889 workaround, which I didn't understand. I had to keep it in the end but this is what I could save from that failed attempt. Regression tested on x86_64-pc-li

[PATCH 1/3] fortran: Generate array reallocation out of loops

2025-07-10 Thread Mikael Morin
From: Mikael Morin Regression tested on x86_64-pc-linux-gnu. OK for master? -- >8 -- Generate the array reallocation on assignment code before entering the scalarization loops. This doesn't move the generated code itself, which was already put before the outermost loop, but only changes the cu

Re: [RFC] Add multi-attributes syntax to future `target_clones` in GFortran

2025-07-10 Thread David Edelsohn
Thanks for your interest to contribute to GCC. This request should be directed to the GNU Fortran mailing list. Thanks, David On Thu, Jul 10, 2025 at 1:44 PM 泽邦 贺 via Gcc wrote: > Dear GCC developers, > > Hello everyone! > > I am a member of the OSPP open source community who is very intereste

Re: [Patch, Fortran, Coarray, PR88076, v2] Add a shared memory multi process coarray library.

2025-07-10 Thread Thomas Koenig
Am 10.07.25 um 11:27 schrieb Andre Vehreschild: Regtests ok on x86_64-pc-linux-gnu / F41. Ok for mainline? Did you run extensive tests on all potential race conditions, and fix the resulting fallout? If you did, please post your test cases and the results. Otherwise, https://gcc.gnu.org/piperm

Re: [PATCH, v2] Fortran: fix minor issues with coarrays (extended)

2025-07-10 Thread Andre Vehreschild
Hi Harald, sorry for all the confusion. Probably my understanding of a pure elemental routine is imperfect. I therefore first like to express what I need an a caf-accessor. In a caf-accessor I have only access to data that is "exported" to it via the add_data object. The data in there has to be ma