[Bug target/77822] [6 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

krebbel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 11 08:49:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822

--- Comment #27 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Fri Nov 11 08:48:29 2016
New Revision: 242066

URL: https://gcc.gnu.org/viewcvs?rev=242066&root=gcc&view=rev
Log:
PR77822: S/390: Add range checks for zero_extract operands.

Make sure the position and size operands of zero_extract are within
the proper range for the mode.

gcc/ChangeLog:

2016-11-11  Dominik Vogt  <vogt@linux.vnet.ibm.com>

        PR target/77822
        * config/s390/s390.md ("extzv", "*extzv<mode>_zEC12")
        ("*extzv<mode>_z10"): Check validity of zero_extend arguments.

gcc/testsuite/ChangeLog:

2016-11-11  Dominik Vogt  <vogt@linux.vnet.ibm.com>

        PR target/77822
        * gcc.target/s390/pr77822.c: New test for PR/77822.


Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/config/s390/s390.md
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list