* fold-const.c (split_tree): Add MINUS_LITP parameter; separate
commitb07ba9ff89762078c9b3e182d9b1457e687d78eb
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Apr 2002 23:31:07 +0000 (23 23:31 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Apr 2002 23:31:07 +0000 (23 23:31 +0000)
tree8365dbb25fbafd138473dd142712439b4166052b
parent448aaa46e0de3721b42f445f24b573cbd4c73a17
    * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
        added literals from substracted literals.
        (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
        (fold) [associate]: Preserve MINUS_EXPR if needed.

* gcc.c-torture/execute/20020423-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52695 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/gcc.c-torture/execute/20020423-1.c [new file with mode: 0644]