https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86731
--- Comment #3 from Will Schmidt <willschm at gcc dot gnu.org> --- Author: willschm Date: Thu Sep 6 19:47:06 2018 New Revision: 264150 URL: https://gcc.gnu.org/viewcvs?rev=264150&root=gcc&view=rev Log: [gcc] 2018-09-06 Will Schmidt <will_schm...@vnet.ibm.com> PR target/86731 * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Update logic around folding of vec_sl to handle out of range shift values. [testsuite] 2018-08-15 Will Schmidt <will_schm...@vnet.ibm.com> PR target/86731 * gcc.target/powerpc/pr86731.c: New test. * gcc.target/powerpc/pr86731-longlong.c: New test. * gcc.target/powerpc/pr86731-fwrapv.c: New test. * gcc.target/powerpc/pr86731-fwrapv-longlong.c: New test. * gcc.target/powerpc/pr86731-nogimplefold.c: New test. * gcc.target/powerpc/pr86731-nogimplefold-longlong.c: New test. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c trunk/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv.c trunk/gcc/testsuite/gcc.target/powerpc/pr86731-longlong.c trunk/gcc/testsuite/gcc.target/powerpc/pr86731-nogimplefold-longlong.c trunk/gcc/testsuite/gcc.target/powerpc/pr86731-nogimplefold.c trunk/gcc/testsuite/gcc.target/powerpc/pr86731.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog