re PR tree-optimization/87826 (ubsan: gimple-ssa-store-merging.c:281)
authorJakub Jelinek <jakub@redhat.com>
Thu, 1 Nov 2018 12:31:45 +0000 (13:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 1 Nov 2018 12:31:45 +0000 (13:31 +0100)
commit444cda74708a494cc814951fe29d4904cec4f7e2
tree87a889af7f57b2997af0c48d68fb490e0ae00400
parent86ba9ce62614375784f5ce92d711e00db391d81e
re PR tree-optimization/87826 (ubsan: gimple-ssa-store-merging.c:281)

PR tree-optimization/87826
* gimple-ssa-store-merging.c (do_shift_rotate): Punt if count is
negative or larger or equal to type's precision.

* gcc.dg/pr87826.c: New test.

From-SVN: r265720
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87826.c [new file with mode: 0644]