[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

[PATCH] fortran: Remove useless nested end of scalarization chain handling

2024-07-07 Thread Mikael Morin
Hello, this is another small cleanup I had lying around. Regression-tested on x86_64-linux. Ok for master? -- 8< -- Remove the special handling of end of nested scalarization chains, which advanced the chain to an element of a parent chain when the current one was reaching its end. That handli

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