Re: [patch, fortran] Fix PR 51858, wrong-code regression with function elimination

2012-01-30 Thread Tobias Burnus
Hello Thomas, I didn't know that you are now also fixing libmudflap problems and that you work on Some malloc'd inside libc is not being tracked. Or did you intent to write PR fortran/51958 rather than PR libmudflap/51858? Changing else if into else; if ... endif; endif matches what we already

[patch, fortran] Fix PR 51858, wrong-code regression with function elimination

2012-01-29 Thread Thomas Koenig
Hello world, the attached patch fixes the PR by converting if (foo) then ... else if (bar) then ... end if to if (foo) then else if (bar) then end if end if so inserting a block for temporary variables around the converted if statement works. OK for trunk? Thomas 2012-01-29

Re: [patch, fortran] Fix PR 51858, wrong-code regression with function elimination

2012-01-29 Thread Thomas Koenig
I wrote: OK for trunk? I forgot: Regression-tested. Thomas