Re: [Patch] Fortran/OpenMP: Handle implicit SAVE for variables in main

2021-05-14 Thread Jakub Jelinek via Gcc-patches
On Fri, May 14, 2021 at 06:13:55PM +0200, Tobias Burnus wrote: > Found when working on another patch. Variables in the specification > part of a module – but also in a main program are implicitly SAVE. > > Likewise for variables with initialization - but that was already > handled. > > OK for mai

[Patch] Fortran/OpenMP: Handle implicit SAVE for variables in main

2021-05-14 Thread Tobias Burnus
Found when working on another patch. Variables in the specification part of a module – but also in a main program are implicitly SAVE. Likewise for variables with initialization - but that was already handled. OK for mainline and GCC 11? Tobias - Mentor Graphics (Deutschland) G