Commit 381d45ed by Richard Biener Committed by Richard Biener

gimple-fold.c (fold_stmt_1): Remove unnecessary code.

2012-11-27  Richard Biener  <rguenther@suse.de>

	* gimple-fold.c (fold_stmt_1): Remove unnecessary code.

From-SVN: r193844
parent 647545a5
2012-11-27 Richard Biener <rguenther@suse.de>
* gimple-fold.c (fold_stmt_1): Remove unnecessary code.
2012-11-27 Bin Cheng <bin.cheng@arm.com> 2012-11-27 Bin Cheng <bin.cheng@arm.com>
* config/arm/arm.c (thumb1_reorg): New function. * config/arm/arm.c (thumb1_reorg): New function.
...@@ -1282,14 +1282,6 @@ fold_stmt_1 (gimple_stmt_iterator *gsi, bool inplace) ...@@ -1282,14 +1282,6 @@ fold_stmt_1 (gimple_stmt_iterator *gsi, bool inplace)
default:; default:;
} }
/* If stmt folds into nothing and it was the last stmt in a bb,
don't call gsi_stmt. */
if (gsi_end_p (*gsi))
{
gcc_assert (next_stmt == NULL);
return changed;
}
stmt = gsi_stmt (*gsi); stmt = gsi_stmt (*gsi);
/* Fold *& on the lhs. Don't do this if stmt folded into nothing, /* Fold *& on the lhs. Don't do this if stmt folded into nothing,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment