re PR rtl-optimization/64818 (User specified register don't work correctly in inline...
authorHale Wang <hale.wang@arm.com>
Wed, 22 Apr 2015 07:21:35 +0000 (07:21 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Wed, 22 Apr 2015 07:21:35 +0000 (07:21 +0000)
commiteefe4e49f4727e475e11e29c45b31736cc1963f6
tree142bbcbbb9752a567f6fbc46932fb24bc1b4cb76
parent5a33401eabe208e602a94bbb1921ec1b19b1f185
re PR rtl-optimization/64818 (User specified register don't work correctly in inline-asm operands.)

gcc/ChangeLog:
2015-04-22  Hale Wang  <hale.wang@arm.com>
            Terry Guo  <terry.guo@arm.com>

       PR rtl-optimization/64818
       * combine.c (can_combine_p): Don't combine user-specified
       register if it is in an asm input.

gcc/testsuite/ChangeLog
2015-04-22  Hale Wang  <hale.wang@arm.com>
            Terry Guo  <terry.guo@arm.com>

       PR rtl-optimization/64818
       * gcc.target/arm/pr64818.c: New test.

Co-Authored-By: Terry Guo <terry.guo@arm.com>
From-SVN: r222306
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr64818.c [new file with mode: 0644]