sh.c (expand_cbranchdi4): Set msw_skip when the high part of the second operand is 0.
authorKaz Kojima <kkojima@gcc.gnu.org>
Mon, 30 May 2011 22:56:32 +0000 (22:56 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Mon, 30 May 2011 22:56:32 +0000 (22:56 +0000)
commit5f1330380a45aa4d5eb5da773ce0e394418008c7
tree724192e63c606bbe59e0a272aec467499c454417
parent283e624c9f8007a9048b55e3be3dfad991cff346
sh.c (expand_cbranchdi4): Set msw_skip when the high part of the second operand is 0.

* config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high
part of the second operand is 0.
* gcc.c-torture/execute/pr49186.c: New.

From-SVN: r174456
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr49186.c [new file with mode: 0644]