Re: [Patch, fortran] PR57798 uninitialized loop bound with sum and array-returning function.

2013-08-21 Thread Thomas Koenig
Hi Mikael, > Regression tested on x86_64-unknown-linux-gnu. OK for trunk/4.8? OK for both. Thanks for the patch! Thomas

[Patch, fortran] PR57798 uninitialized loop bound with sum and array-returning function.

2013-08-20 Thread Mikael Morin
Hello, this is the fix for pr57798 where a variable used as scalarization loop bound was used outside the outer scalarization loop, before it was defined (inside it). To make it more clear the code generated was like this: ... toto = bad do ... bad = titi do ... ... The patch fixe