Fix up mode confusion in combine_simplify_rtx.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Nov 2014 15:25:45 +0000 (15:25 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Nov 2014 15:25:45 +0000 (15:25 +0000)
commit9a7c26d6f50ebf25d1820c28602d8a141e253a74
tree93b619eab4f0d9fa2de2d6cef2a2c5b209e0785c
parent56cc24290e60f18c1e13653850b900d1e805717e
Fix up mode confusion in combine_simplify_rtx.

The surrounding code was already fixed back when BImode was added.

* combine.c (combine_simplify_rtx): In STORE_FLAG_VALUE == -1 case,
also verify that mode is equal to the mode of op0.

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