[Patch, fortran] PR48955 [4.6/4.7 Regression] Wrong result for array assignment due to missing temporary

2011-05-12 Thread Paul Richard Thomas
This patch fixes the problem in two steps: (i) It reverts r162289; and (ii) It adds the correct initialization for loop.reverse[] in gfc_trans_assignment_1.  This was implemented incorrectly in the fix for PR24524 (in spite of the correct comment in dependency.c!) and removed at sometime, I do not

Re: [Patch, fortran] PR48955 [4.6/4.7 Regression] Wrong result for array assignment due to missing temporary

2011-05-12 Thread Tobias Burnus
On 05/12/2011 05:46 PM, Paul Richard Thomas wrote: This patch fixes the problem in two steps: (i) It reverts r162289; and (ii) It adds the correct initialization for loop.reverse[] in gfc_trans_assignment_1. This was implemented incorrectly in the fix for PR24524 (in spite of the correct