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 <v...@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 <v...@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