Fix up mode confusion in combine_simplify_rtx.
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 4 Nov 2014 15:25:45 +0000 (15:25 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 4 Nov 2014 15:25:45 +0000 (15:25 +0000)
commitbf42f4fd591f016a02916a7ff624e5d57e8731fa
tree93b619eab4f0d9fa2de2d6cef2a2c5b209e0785c
parented2b2162d0b3953789156bae4e1ece1a7991e305
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.

From-SVN: r217089
gcc/ChangeLog
gcc/combine.c