]> git.ipfire.org Git - thirdparty/gcc.git/commit
expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call safe_from_p for us, once...
authorRoger Sayle <roger@eyesopen.com>
Sat, 11 Oct 2003 21:00:51 +0000 (21:00 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 11 Oct 2003 21:00:51 +0000 (21:00 +0000)
commite3be1116138b7a387420d370e9f6fddcc395f283
treef822aaf60ebe6f78e03eaac4a15d38c198d39d8c
parent69efc31da2d437bce7aca9f6bf003a901619359c
expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call safe_from_p for us, once it chooses an evaluation order.

* 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.

From-SVN: r72376
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20031011-1.c [new file with mode: 0644]