This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] function.c, stmt.c: Remove two "if"s that alwaystrigger.
- From: Jeffrey A Law <law at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 11 Nov 2004 14:45:39 -0700
- Subject: Re: [patch] function.c, stmt.c: Remove two "if"s that alwaystrigger.
- Organization: Red Hat, Inc
- References: <20041111.094836.115910239.kazu@cs.umass.edu>
- Reply-to: law at redhat dot com
On Thu, 2004-11-11 at 09:48 -0500, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to remove two "if"s that always trigger.
>
> These days we always create a return_label in
> function.c:expand_function_start, so we don't need to check if
> return_label is nonnull.
>
> Tested on i686-pc-linux-gnu. OK to apply?
>
> Kazu Hirata
>
> 2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
>
> * function.c (expand_function_end): Remove an "if" statement
> that always trigger.
> * stmt.c (expand_null_return_1): Likewise.
Approved.
jeff