From: Jeff Law <law@redhat.com>
To: Segher Boessenkool <segher@kernel.crashing.org>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] cfgcleanup: Ignore clobbers in bb_is_just_return
Date: Mon, 22 May 2017 03:47:00 -0000 [thread overview]
Message-ID: <ca7b9e43-aecf-8b6e-009f-96dce6dd9e02@redhat.com> (raw)
In-Reply-To: <8852455d0f86e667cf5adab3310fde9153b29286.1495140549.git.segher@kernel.crashing.org>
On 05/18/2017 02:58 PM, Segher Boessenkool wrote:
> The function bb_is_just_return finds if the BB it is asked about does
> just a return and nothing else. It currently does not allow clobbers
> in the block either, which we of course can allow just fine.
>
> This patch changes that. Bootstrapped and tested on powerpc64-linux
> {-m32,-m64} (and tested that the new test fails before the patch, too).
> Is this okay for trunk?
>
>
> Segher
>
>
> 2017-05-18 Segher Boessenkool <segher@kernel.crashing.org>
>
> * cfgcleanup.c (bb_is_just_return): Allow CLOBBERs.
>
> gcc/testsuite/
> * gcc.target/powerpc/conditional-return.c: New testcase.
OK.
jeff
prev parent reply other threads:[~2017-05-22 2:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 21:20 Segher Boessenkool
2017-05-22 3:47 ` Jeff Law [this message]
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=ca7b9e43-aecf-8b6e-009f-96dce6dd9e02@redhat.com \
--to=law@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=segher@kernel.crashing.org \
/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).