* fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 1999 22:56:39 +0000 (22:56 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 1999 22:56:39 +0000 (22:56 +0000)
commit5f0002b04b93907db66eb012c0f24943064c03a3
tree1c896300e51d20eabe1dc79b9551f9bcde35d9f0
parent53596aa35f4b7a9561cd146070cd985aafd2b4f4
* fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
operation if C is negative.
(extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
(extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
law for some divisions if constant is negative and change other
divisions to the opposite rounding.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30714 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c