Correct failures with --enable-checking=yes,rtl.
authorMichael Eager <eager@eagercon.com>
Thu, 9 Mar 2017 18:09:39 +0000 (18:09 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Thu, 9 Mar 2017 18:09:39 +0000 (18:09 +0000)
commit4e0c6654ef99fe34a012dbb9507db33f51e8fde8
treea6749334366eb089afef19124ffda15fce9e4e0a
parentc9819d22705d43ced3c05763172812061cdddce9
Correct failures with --enable-checking=yes,rtl.

        * config/microblaze/microblaze.c (microblaze_expand_shift):
        Replace GET_CODE test with CONST_INT_P and INTVAL test with
        test for const0_rtx.
        * config/microblaze/microblaze.md (ashlsi3_byone, ashrsi3_byone,
        lshrsi3_byone): Replace INTVAL with test for const1_rtx.

From-SVN: r246012
gcc/ChangeLog
gcc/config/microblaze/microblaze.c
gcc/config/microblaze/microblaze.md