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 <seg...@kernel.crashing.org>
>
> * cfgcleanup.c (bb_is_just_return): Allow CLOBBERs.
>
> gcc/testsuite/
> * gcc.target/powerpc/conditional-return.c: New testcase.
OK.
jeff