This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 51958, wrong-code regression with function elimination
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>
- Date: Tue, 31 Jan 2012 17:09:11 -0800
- Subject: Re: [patch, fortran] Fix PR 51958, wrong-code regression with function elimination
- References: <20120130084612.GA1146@physik.fu-berlin.de> <4F287437.2090902@netcologne.de> <20120131233212.GA51876@troutmask.apl.washington.edu> <4F287D90.7000504@netcologne.de>
On Wed, Feb 01, 2012 at 12:47:28AM +0100, Thomas Koenig wrote:
> Hi Steve,
>
> >+ else_stmt->expr1 = NULL;
> >+ else_stmt->next = c_if1;
> >+ else_stmt->block = NULL;
> >+ else_stmt->next = c_if1;
> >
> >Is one of the else_stmt->next = c_if1; redundant?
> >
>
> Definitely. I'll take it out when I commit the patch.
>
Patch looks fine, then. OK to commit.
--
Steve