OSDN Git Service

* expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Oct 2003 21:00:51 +0000 (21:00 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Oct 2003 21:00:51 +0000 (21:00 +0000)
commita54ebf2eb75ba55521108cc537eb08c9696c6994
treef822aaf60ebe6f78e03eaac4a15d38c198d39d8c
parent41d686113ae618f90588d74788a0f60c8247625e
* expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
safe_from_p for us, once it chooses an evaluation order.
(expand_expr <MULT_EXPR>): Likewise.
(expand_expr <MIN_EXPR> <MAX_EXPR>): Likewise.  If expand_operands
places the second operand in "target", swap the operands.
(do_store_flag): Let expand_operands call safe_from_p for us.

* gcc.c-torture/execute/20031011-1.c: New testcase.

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