Re: [Patch] Fortran: OpenMP/OpenACC avoid uninit access in size calc for mapping

2022-03-10 Thread Tobias Burnus
Hi Thomas, hi all, (Updated patch attached – only changes the goacc testcases. I intent to commit the patch tomorrow, unless more comments come up.) On 10.03.22 10:00, Thomas Schwinge wrote: [OpenACC testcases:] I recently added that checking in ... [...] to document the status quo. (1), as y

Re: [Patch] Fortran: OpenMP/OpenACC avoid uninit access in size calc for mapping

2022-03-10 Thread Thomas Schwinge
Hi Tobias! On 2022-03-08T15:25:07+0100, Tobias Burnus wrote: > found when working on the deep-mapping patch* with OpenMP code > (and part of that patch) but it already shows up in an existing > OpenACC testcase. I think it makes sense to fix it already for GCC 12. > > Problem: Also for unallocate

[Patch] Fortran: OpenMP/OpenACC avoid uninit access in size calc for mapping

2022-03-08 Thread Tobias Burnus
Hi Thomas & Jakub, found when working on the deep-mapping patch* with OpenMP code (and part of that patch) but it already shows up in an existing OpenACC testcase. I think it makes sense to fix it already for GCC 12. Problem: Also for unallocated allocatables, their size was calculated - the 'if