simplify-rtx: Fix the last fix (PR78638)
commitbcd236b24a9cf13389198404cd7d0af8aa0002a7
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2016 23:51:31 +0000 (2 23:51 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2016 23:51:31 +0000 (2 23:51 +0000)
tree81214b5c74677943be5367ef8263ce467f68cd30
parentb09d64176369c78bfa0f1ec43ed23214f22143a4
simplify-rtx: Fix the last fix (PR78638)

I managed to get the last obvious fix wrong: mode is M1, GET_MODE (op)
is M2.

* simplify-rtx.c (simplify_truncation): M2 is not mode, it is
GET_MODE (op).  Fix this.

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