Re: [patch, fortran] Fix PR 48352 - regression with ICE with front end optimization

2011-04-01 Thread Thomas Koenig
Hi Jerry, Regression-tested. OK for trunk? OK. Do you plan to open a second PR for this TODO? Sendingfortran/ChangeLog Sendingfortran/frontend-passes.c Sendingtestsuite/ChangeLog Adding testsuite/gfortran.dg/function_optimize_3.f90 Transmitting file data

Re: [patch, fortran] Fix PR 48352 - regression with ICE with front end optimization

2011-03-31 Thread Jerry DeLisle
On 03/31/2011 01:28 PM, Thomas Koenig wrote: Hello world, the attached patch fixes a 4.7 regression, PR 48352, where a function elimination in the expressions for a DO loop caused an ICE. The ICE was caused by interaction of the expression walker with insertion of a statement for a DO loop. Man

[patch, fortran] Fix PR 48352 - regression with ICE with front end optimization

2011-03-31 Thread Thomas Koenig
Hello world, the attached patch fixes a 4.7 regression, PR 48352, where a function elimination in the expressions for a DO loop caused an ICE. The ICE was caused by interaction of the expression walker with insertion of a statement for a DO loop. Many thanks to Joost for finding the bug and