diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-02-10 14:55:15 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-02-10 14:55:15 +0000 |
commit | c85b2faf20145b479997318b246e00f12e828788 (patch) | |
tree | 0ba640ec5772b9e3e4fec307caba206e0e99c96a /gcc/gimplify.c | |
parent | 8d093dba97a54597645292b551c6e9bc09aa8f9e (diff) | |
download | ppe42-gcc-c85b2faf20145b479997318b246e00f12e828788.tar.gz ppe42-gcc-c85b2faf20145b479997318b246e00f12e828788.zip |
2009-02-10 Richard Guenther <rguenther@suse.de>
PR middle-end/39127
* gimplify.c (gimple_regimplify_operands): Always look if
we need to create a temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144061 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index be0c1ac00e5..6f88ec547d7 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -7459,9 +7459,9 @@ gimple_regimplify_operands (gimple stmt, gimple_stmt_iterator *gsi_p) } lhs = gimple_get_lhs (stmt); - /* If regimplification of the LHS changed it in a way that requires - a simple RHS, create temporary. */ - if (orig_lhs != lhs && !is_gimple_formal_tmp_var (lhs)) + /* If the LHS changed it in a way that requires a simple RHS, + create temporary. */ + if (lhs && !is_gimple_formal_tmp_var (lhs)) { bool need_temp = false; |