re PR rtl-optimization/21163 (internal compiler error: in output_constant_pool_2...
authorRichard Henderson <rth@redhat.com>
Sun, 24 Apr 2005 22:16:48 +0000 (15:16 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 24 Apr 2005 22:16:48 +0000 (15:16 -0700)
commit3f2960d5a51827b56ac09f3e7a6e6d29f214aef1
tree8638f0afd10ef58e9ef59ec776cc3ca7480f0ff9
parent98a3dad4119055bb5be8e66372b4fcf89235e660
re PR rtl-optimization/21163 (internal compiler error: in output_constant_pool_2, at varasm.c:3135)

        PR rtl-opt/21163
        * simplify-rtx.c (simplify_binary_operation) <IOR>: Check
        for SCALAR_INT_MODE_P instead of not MODE_CC before returning
        constm1_rtx.
        <AND, LSHIFTRT, UMIN>: Use CONST0_RTX.
        <UDIV, UMOD>: Use CONST0_RTX and CONST1_RTX.
        <DIV, MOD>: Likewise.

From-SVN: r98678
gcc/ChangeLog
gcc/simplify-rtx.c