This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bbreorder odity
- To: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- Subject: Re: bbreorder odity
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 15 Mar 2001 01:10:16 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <200103140226.aa10671@gremlin-relay.ics.uci.edu>
On Wed, Mar 14, 2001 at 02:27:02AM -0800, Dan Nicolaescu wrote:
> Shouldn't the epilogue be duplicated here instead of using a jump?
bb-reorder doesn't duplicate code. So, "no" in that it isn't
designed to do that.
> The odd thing is that the epilogue is duplicated when using
> -O2 -fomit-frame-pointer
Technically, no. With -fomit-frame-pointer, we have no
epilogue, just a return. At which point HAVE_return is
true, and we put them everywhere we need them.
r~