This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Simple returns are broken in gcc 3.X


> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]