From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: rth@redhat.com (Richard Henderson)
Cc: gcc@gcc.gnu.org
Subject: Re: Simple returns are broken in gcc 3.X
Date: Tue, 31 Jul 2001 16:08:00 -0000 [thread overview]
Message-ID: <200107312306.f6VN6PrE022104@hiauly1.hia.nrc.ca> (raw)
In-Reply-To: <20010731134935.C4205@redhat.com>
> On Tue, Jul 31, 2001 at 04:43:15PM -0400, John David Anglin wrote:
> > It may not be necessary. I am trying to rework
> > thread_prologue_and_epilogue_insns to always output a return
> > in the HAVE_return case.
>
> Hum. We'll see. I still think you'd be better served adding the
> epilogue pattern. It's clearer to categorize HAVE_return as the
> optimization and HAVE_epilogue as the requirement.
I can't disagree with your logic.
In looking at thread_prologue_and_epilogue_insns, I am having
difficulty understanding how "returns" are generated when an exit
block has no non-fake predecessors or no fall-thru predecessor.
In these two situations, the code jumps to epilogue_done and the
epilogue isn't expanded.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
next prev parent reply other threads:[~2001-07-31 16:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 15:33 John David Anglin
2001-07-30 19:30 ` Richard Henderson
2001-07-30 20:38 ` John David Anglin
2001-07-30 23:16 ` Richard Henderson
2001-07-31 8:03 ` John David Anglin
2001-07-31 9:56 ` Richard Henderson
2001-07-31 10:39 ` John David Anglin
2001-07-31 13:13 ` Richard Henderson
2001-07-31 13:43 ` John David Anglin
2001-07-31 13:49 ` Richard Henderson
2001-07-31 16:08 ` John David Anglin [this message]
2001-07-31 16:37 ` Richard Henderson
[not found] <no.id>
2001-08-09 15:12 ` John David Anglin
2001-08-09 15:48 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200107312306.f6VN6PrE022104@hiauly1.hia.nrc.ca \
--to=dave@hiauly1.hia.nrc.ca \
--cc=gcc@gcc.gnu.org \
--cc=rth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).