gcc/gcc ChangeLog cse.c rtl.h rtlanal.c simpli ...
rth@gcc.gnu.org
rth@gcc.gnu.org
Mon Oct 7 03:59:00 GMT 2002
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-basic-improvements-branch
Changes by: rth@gcc.gnu.org 2002-10-07 03:59:12
Modified files:
gcc : ChangeLog cse.c rtl.h rtlanal.c simplify-rtx.c
Log message:
* cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
function; cleanup PLUS case by using recursion. Update all users.
(NONZERO_BASE_PLUS_P): Remove.
(find_comparison_args): Use rtx_addr_can_trap_p instead.
(fold_rtx): Use nonzero_address_p.
* rtl.h (nonzero_address_p): Declare.
* rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
(rtx_addr_can_trap_p): Likewise.
(nonzero_address_p): New.
* simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
(simplify_relational_operation): Use nonzero_address_p.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.15234.2.42&r2=1.15234.2.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.231.4.4&r2=1.231.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.367.4.3&r2=1.367.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtlanal.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.138.4.3&r2=1.138.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-basic-improvements-branch&r1=1.118.4.2&r2=1.118.4.3
More information about the Gcc-cvs
mailing list