[patch] OpenMP: Add uses_allocators support

2023-11-20 Thread Tobias Burnus
This adds middle end support for uses_allocators, wires Fortran to use it and add C/C++ parsing support. This is based on Chung-Lin's patch at https://gcc.gnu.org/pipermail/gcc-patches/2022-June/596412.html There is a known firstprivate/private issue for C/C++, see: https://gcc.gnu.org/PR110347

[PATCH] Fortran: fix reallocation on assignment of polymorphic variables [PR110415]

2023-11-20 Thread Andrew Jenner
(I sent this to gcc-patches on Wednesday - didn't realise until today that I needed to send it here too.) This patch adds the testcase from PR110415 and fixes the bug. The problem is that in a couple of places in trans_class_assignment in trans-expr.cc, we need to get the run-time size of the

Re: [PATCH] Fortran: fix reallocation on assignment of polymorphic variables [PR110415]

2023-11-20 Thread Tobias Burnus
Hi Andrew, On 20.11.23 14:56, Andrew Jenner wrote: This patch adds the testcase from PR110415 and fixes the bug. Thanks. I can confirm experimentally that it fixes the original PR. However, if I extend the original testcase (-2), it fails with run with valgrind or when run with -fsanitize=a

Re: [PATCH, v2] Fortran: restrictions on integer arguments to SYSTEM_CLOCK [PR112609]

2023-11-20 Thread Steve Kargl
Harald, Sorry about delayed response. Got side-tracked by Family this weekend. On Sun, Nov 19, 2023 at 09:46:46PM +0100, Harald Anlauf wrote: > > On 11/19/23 01:04, Steve Kargl wrote: > > On Sat, Nov 18, 2023 at 11:12:55PM +0100, Harald Anlauf wrote: > > > Regtested on x86_64-pc-linux-gnu. OK

Today's build of trunk with --disable-bootstrap fails for me...

2023-11-20 Thread Harald Anlauf
Hi, does anybody else have the same issue? I usually build trunk with --disable-bootstrap, e.g. 14-trunk using gcc-13, and rarely encounter problems. Some change between yesterday and today (likely r14-5607-g2f8f7ee2db82a3, Initial support for AVX10.1) leads to the following problem: When build

Fw: Today's build of trunk with --disable-bootstrap fails for me...

2023-11-20 Thread Harald Anlauf
As I could not find any way to proceed, I submitted my findings as PR112643 and hope to get feedback. Harald > Gesendet: Montag, 20. November 2023 um 21:01 Uhr > Von: "Harald Anlauf" > An: "fortran" > Betreff: Today's build of trunk with --disable-bootstrap fails for me... > > Hi, > > does anyb