Re: [PATCH] fortran: Move definition of variable closer to its uses

2024-07-08 Thread Mikael Morin
Le 07/07/2024 à 21:06, Harald Anlauf a écrit : Hi Mikael, Am 07.07.24 um 10:32 schrieb Mikael Morin: Hello, I have found this small cleanup lying in a local branch. Regression-tested on x86_64-linux, OK for master? besides the minor nit below, this is a nice cleanup! -- 8< -- No change of

Re: [PATCH] fortran: Move definition of variable closer to its uses

2024-07-07 Thread Harald Anlauf
Hi Mikael, Am 07.07.24 um 10:32 schrieb Mikael Morin: Hello, I have found this small cleanup lying in a local branch. Regression-tested on x86_64-linux, OK for master? besides the minor nit below, this is a nice cleanup! -- 8< -- No change of behaviour, this makes a variable easier to trac

[PATCH] fortran: Move definition of variable closer to its uses

2024-07-07 Thread Mikael Morin
Hello, I have found this small cleanup lying in a local branch. Regression-tested on x86_64-linux, OK for master? -- 8< -- No change of behaviour, this makes a variable easier to track. gcc/fortran/ChangeLog: * trans-array.cc (gfc_trans_preloop_setup): Use a separate variable f