Re: [Patch, fortran] PR108889 -[12/13/14/15 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-07-17 Thread Andre Vehreschild
Hi Paul, isn't the ref you are computing here: + /* Mark so that rhs "used unallocated" warnings can be issued. Component +references do not generate the warnings. */ + for (ref = expr1->ref; ref; ref = ref->next) + if (ref->type == REF_COMPONENT) + break; not

[Patch, fortran] PR108889 -[12/13/14/15 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-07-17 Thread Paul Richard Thomas
Hi All, This patch is simple and well described by the ChangeLogs and the comments. Regtests OK. OK for mainline and backporting? Cheers Paul Change.Logs Description: Binary data diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h index ed1213a41cb..c1fb896f587 100644 --- a/gcc/fortr

Re: [Ping, Fortran, Patch, PR82904] Fix [11/12/13/14/15 Regression][Coarray] ICE in make_ssa_name_fn, at tree-ssanames.c:261

2024-07-17 Thread Paul Richard Thomas
Hi Andre, It looks good to me. I am happy to see that the principle of the patch has Richi's blessing too. OK for mainline. I leave it for you (and Richi?) to decide whether to backport in time for the 14.2 release. Regards Paul On Wed, 17 Jul 2024 at 14:08, Andre Vehreschild wrote: > Hi al

[Fortran, Patch, coarray, PR84246] Fix for [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950

2024-07-17 Thread Andre Vehreschild
Hi all, attached patch fixes an ICE in coarray code, where the coarray expression already was a pointer, which confused the compiler. Furthermore have I removed a rewrite to a caf_send late in the trans-phase. This is now done in the resolve stage to have only a single place for these rewriting ac

Re: [Ping, Patch, Fortran, PR84244, v1] Fix ICE in recompute_tree_invariant_for_addr_expr, at tree.c:4535

2024-07-17 Thread Andre Vehreschild
Hi all, and the last ping. Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline? Regards, Andre On Thu, 11 Jul 2024 16:05:09 +0200 Andre Vehreschild wrote: > Hi all, > > the attached patch fixes a segfault in the compiler, where for pointer > components of a derived type th

Re: [Ping, Patch, Fortran, PR88624, v1] Fix Rejects allocatable coarray passed as a dummy argument

2024-07-17 Thread Andre Vehreschild
Hi all, and another ping... Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline? - Andre On Thu, 11 Jul 2024 15:42:54 +0200 Andre Vehreschild wrote: > Hi all, > > attached patch fixes using of coarrays as dummy arguments. The coarray > dummy argument was not dereferenced correctly

Re: [Ping, Fortran, Patch, PR82904] Fix [11/12/13/14/15 Regression][Coarray] ICE in make_ssa_name_fn, at tree-ssanames.c:261

2024-07-17 Thread Andre Vehreschild
Hi all, pinging for attached patch rebased on master and my patch for 78466. Anyone in for a review? Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline? Regards, Andre On Wed, 10 Jul 2024 14:51:53 +0200 Andre Vehreschild wrote: > Hi all, > > the patch attached fixes the

Re: [Ping, Fortran, Patch, PR78466, coarray, v1.1] Fix Explicit cobounds of a procedures parameter not respected

2024-07-17 Thread Andre Vehreschild
Hi all, just pinging on this patch. The attached patch is rebased to an unmodified master as of this afternoon (CEST 3 p.m.). Anyone in for a review? Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline? Regards, Andre On Wed, 10 Jul 2024 11:17:44 +0200 Andre Vehreschild wr