[PATCH] S390: Fix PR/77822.

Andreas Krebbel krebbel@linux.vnet.ibm.com
Fri Nov 11 08:58:00 GMT 2016


On 11/08/2016 03:38 PM, Dominik Vogt wrote:
> The attached patch fixes PR/77822 on s390/s390x dor gcc-6 *only*.
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822
> 
> Bootstrapped and regression tested on s390 and s390x biarch on a
> zEC12.
> 
> For gcc-7, there will be a different patch.

Applied to GCC 6 branch.  Thanks!
Please remember adding the PR number to the changelog entries to trigger bugzilla adding a comment
to the PR.

As discussed offlist the range check for the position operand could be moved to a predicate.  This
will be part of the GCC head patch.

I've just noticed that I had such checks already for the insv patterns and have added one to the
expander as well later. So for zero_extract as target operand this appeared to be a problem even
before GCC 6.

Bye,

-Andreas-



More information about the Gcc-patches mailing list