PR target/82498
commite28fa70213af76d2ab9bc9046e309a9d8c08a15a
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Oct 2017 07:17:06 +0000 (13 07:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Oct 2017 07:17:06 +0000 (13 07:17 +0000)
tree08438b3b35a482ee1339d6e41f02ee6f48ff4ca5
parent453841f98d73ffaa6950914c5136aa38cc04a884
PR target/82498
* config/i386/ia32intrin.h (__rold, __rord, __rolq, __rorq): Allow
any values of __C while still being pattern recognizable as a simple
rotate instruction.

* gcc.dg/ubsan/pr82498.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253708 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/ia32intrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ubsan/pr82498.c [new file with mode: 0644]