This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Simple returns are broken in gcc 3.X
- To: rth at redhat dot com (Richard Henderson)
- Subject: Re: Simple returns are broken in gcc 3.X
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 31 Jul 2001 13:36:41 -0400 (EDT)
- Cc: gcc at gcc dot gnu dot org
> On Tue, Jul 31, 2001 at 10:39:58AM -0400, John David Anglin wrote:
> > > Err, yes it would. There's another bit in expand_function_end.
> >
> > Isn't that bit necessary if there isn't an epilogue?
>
> No, look at thread_prologue_and_epilogue_insns.
It looks like the "optimize" test needs to be removed from
thread_prologue_and_epilogue_insns so that emit_return_into_block
is always called. Is that OK? I presume that this is there
because we didn't have a proper CFG when not optimizing.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)