expr.c (get_def_for_expr): New function.
authorAdam Nemet <anemet@caviumnetworks.com>
Sun, 3 May 2009 17:20:30 +0000 (17:20 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Sun, 3 May 2009 17:20:30 +0000 (17:20 +0000)
commit8c7926c4c73c20a4097710c4ffd92d30a839c0fc
treeffc56de6b1acc6ed83fb02fefd7abf41c0890808
parentb91cc3b9dcc840b259b0d7e6551b047a42695f87
expr.c (get_def_for_expr): New function.

* expr.c (get_def_for_expr): New function.
(expand_expr_real_1) <PLUS_EXPR, MINUS_EXPR>: Adjust to work with
SSA rather than trees.
<MULT_EXPR>: Likewise.  Use subexp0 and subexp1 instead of
TREE_OPERAND (exp, 0) and TREE_OPERAND (exp, 1).

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r147078
gcc/ChangeLog
gcc/expr.c