https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78310
--- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Fri Nov 11 17:04:18 2016 New Revision: 242124 URL: https://gcc.gnu.org/viewcvs?rev=242124&root=gcc&view=rev Log: PR target/78310 * config/i386/i386.md (rotate to rotatex splitter): Avoid overflow when calculating operand 2. (rotate to rotatex zext splitter): Ditto. testsuite/ChangeLog: PR target/78310 * gcc.target/i386/pr78310.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr78310.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/i386/i386.md branches/gcc-5-branch/gcc/testsuite/ChangeLog