This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 51858, wrong-code regression with function elimination
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 09:46:13 +0100
- Subject: Re: [patch, fortran] Fix PR 51858, wrong-code regression with function elimination
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 do for the middle end and should thus be fine.
While I haven't tried the patch, it looks okay. Could you also
add a test case for:
if ()
else if ()
else if ()
else
end if
(can be in the same file, but should be additional) just to make
sure that multiple "else if" also work?
Tobias