OSDN Git Service

* dojump.c (do_jump): If the expression being compared against
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Dec 2003 14:06:46 +0000 (14:06 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Dec 2003 14:06:46 +0000 (14:06 +0000)
commit219a732782d13efc5f522254caee69563f3e08f1
tree7b626e91f813aeaea1a249d43406dd0cb5930b3e
parentf40d56d5b370fce44c30884cf5e8a0be393e9cc2
* dojump.c (do_jump): If the expression being compared against
zero, is the subreg of a promoted variable, perform the comparison
in the promoted mode.
* simplify-rtx.c (simplify_unary_operation): Optimize sign and
zero-extensions of subregs of promoted variables where the
extension is identical to that used to promote the variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74332 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dojump.c
gcc/simplify-rtx.c