diff options
author | Jeff Law <law@redhat.com> | 2011-03-31 07:28:29 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2011-03-31 07:28:29 -0600 |
commit | e16b6fd0f7b7da99739f850360d6c86c5b1cba20 (patch) | |
tree | 9825cddc84870c8f20906bf543d746a838379d92 /gcc/stmt.c | |
parent | eb1eb91413b50038212d148bf651c40e4d0e32f9 (diff) | |
download | gcc-e16b6fd0f7b7da99739f850360d6c86c5b1cba20.zip gcc-e16b6fd0f7b7da99739f850360d6c86c5b1cba20.tar.gz gcc-e16b6fd0f7b7da99739f850360d6c86c5b1cba20.tar.bz2 |
tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid typo potentially leading to null pointer dereference.
* tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid
typo potentially leading to null pointer dereference.
* caller-save.c (new_saved_hard_reg): Eliminate return value.
(setup_save_areas): Corresponding changes to avoid useless
assignments.
* jump.c (reversed_comparison_code_parts): Avoid successive return
statements when REVERSE_CONDITION is defined.
* expr.c (expand_assignment): Avoid useless assignments.
(expand_expr_real_1): Likewise.
(expand_expr_real_2): Avoid useless statements.
* tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement.
* cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless
statements.
* stmt.c (expand_expr_stmt): Avoid useless assignment.
From-SVN: r171780
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1455,7 +1455,7 @@ expand_expr_stmt (tree exp) if (TYPE_MODE (type) == VOIDmode) ; else if (TYPE_MODE (type) != BLKmode) - value = copy_to_reg (value); + copy_to_reg (value); else { rtx lab = gen_label_rtx (); |