https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69885
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Mar 30 12:28:24 2016 New Revision: 234548 URL: https://gcc.gnu.org/viewcvs?rev=234548&root=gcc&view=rev Log: Backported from mainline 2016-02-22 Jakub Jelinek <ja...@redhat.com> PR target/69885 * gcc.dg/pr69885.c: New test. 2016-02-16 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/69764 PR rtl-optimization/69771 * optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT op1 is valid for GET_MODE_INNER (mode) and force it into a reg. 2016-02-12 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/69764 PR rtl-optimization/69771 * optabs.c (expand_binop_directly): For shift_optab_p, force convert_modes with VOIDmode if xop1 has VOIDmode. * c-c++-common/pr69764.c: New test. * gcc.dg/torture/pr69771.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr69764.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69885.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr69771.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/optabs.c branches/gcc-5-branch/gcc/testsuite/ChangeLog