sh.c (expand_cbranchdi4): Use a scratch register if needed when original operands...
authorKaz Kojima <kkojima@gcc.gnu.org>
Wed, 1 Jun 2011 22:36:08 +0000 (22:36 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Wed, 1 Jun 2011 22:36:08 +0000 (22:36 +0000)
commite95873dd5bbab240f64c4ab8138646ead2e3bdfc
tree232ef5af44e2c3235f2cd52f53a50a63518761fa
parenta82fcbe8255c5a3716710f27f08dc76ac16aeeca
sh.c (expand_cbranchdi4): Use a scratch register if needed when original operands are used for msw_skip...

* config/sh/sh.c (expand_cbranchdi4): Use a scratch register if
needed when original operands are used for msw_skip comparison.
* gcc.c-torture/compile/pr49238.c: New.

From-SVN: r174550
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr49238.c [new file with mode: 0644]