tree.c (skip_simple_arithmetics_at, [...]): New functions.
authorOlivier Hainque <hainque@act-europe.fr>
Wed, 16 Apr 2003 21:33:19 +0000 (23:33 +0200)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 16 Apr 2003 21:33:19 +0000 (17:33 -0400)
commita9ecacf6c44316e20d54c36f84ae80dedfff09e6
treed54db0fbb9e85319256be0471da62b0bf8117eb6
parent15b19a7dbf433b1936eecd042ce7dedbb23220f9
tree.c (skip_simple_arithmetics_at, [...]): New functions.

        * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
        (save_expr): Replace loop by call to skip_simple_arithmetics_at.
        * tree.h: Add prototypes for the two new functions.
        * fold-const.c (fold_binary_op_with_conditional_arg): Replace test
        updates introduced in the previous revision by call to saved_expr_p.
        * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.

From-SVN: r65702
gcc/ChangeLog
gcc/fold-const.c
gcc/stor-layout.c
gcc/tree.c
gcc/tree.h