r124364 - in /branches/pointer_plus/gcc: Change...

pinskia@gcc.gnu.org pinskia@gcc.gnu.org
Wed May 2 23:13:00 GMT 2007


Author: pinskia
Date: Wed May  2 23:13:03 2007
New Revision: 124364

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124364
Log:
2007-05-02  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * fold-const.c (try_move_mult_to_index): Remove code argument
        and replace all uses with PLUS_EXPR.
        (fold_binary <case POINTER_PLUS_EXR>): Remove code argument.
        (fold_binary <case PLUS_EXPR>): Don't call try_move_mult_to_index.
        (fold_binary <case MINUS_EXPR>): Likewise.
        * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Remove subtraction
        case as it is always addition now.
        (fold_stmt_r): Don't handle PLUS_EXPR/MINUS_EXPR specially.
        Handle POINTER_PLUS_EXPR like PLUS_EXPR was handled before.



Modified:
    branches/pointer_plus/gcc/ChangeLog.ptr
    branches/pointer_plus/gcc/fold-const.c
    branches/pointer_plus/gcc/tree-ssa-ccp.c



More information about the Gcc-cvs mailing list