]> gcc.gnu.org Git - gcc.git/commit
combine.c (do_SUBST): Sanity check substitutions of CONST_INTs...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 20 Feb 2002 23:15:00 +0000 (23:15 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 20 Feb 2002 23:15:00 +0000 (23:15 +0000)
commit4161da12190d52eb1d622354e6ea67f67195c73c
tree55c3d095668c86b8d785d6a6b95f142a8823cd52
parent8e8d61f5c1ddd2e55ae3c32347af851eaeb83e0a
combine.c (do_SUBST): Sanity check substitutions of CONST_INTs...

* combine.c (do_SUBST): Sanity check substitutions of
CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
(subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
CONST_INT into its operand.
(known_cond): Likewise, for ZERO_EXTEND.
* simplify-rtx.c (simplify_unary_operation): Fix condition to
allow for simplification of wide modes.  Reject CONST_INTs in
ZERO_EXTEND when their actual mode is not given.

From-SVN: r49920
gcc/ChangeLog
gcc/combine.c
gcc/simplify-rtx.c
This page took 0.060323 seconds and 5 git commands to generate.