]> git.ipfire.org Git - thirdparty/gcc.git/commit
simplify-rtx: The truncation of an IOR can have all bits set (PR81423)
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jul 2017 19:28:41 +0000 (19:28 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jul 2017 19:28:41 +0000 (19:28 +0000)
commit8bd78cef2af4488e18d32da38eba11b213c1fe83
treea686c908f3ec904d5665254d978c95d8ce7ca2d8
parent0177378a35641d0a56be48bb1dbe0a05cc3acf68
simplify-rtx: The truncation of an IOR can have all bits set (PR81423)

... if it is an IOR with a constant with all bits set in the mode
that is truncated to, for example.  Handle that case.

PR rtl-optimization/81423
* simplify-rtx.c (simplify_truncation): Handle truncating an IOR
with a constant that is -1 in the truncated to mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250363 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c