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
This commit is contained in:
Richard Biener 2012-11-27 12:06:52 +00:00 committed by Richard Biener
parent 647545a516
commit 381d45ed49
2 changed files with 4 additions and 8 deletions

View File

@ -1,3 +1,7 @@
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>
* config/arm/arm.c (thumb1_reorg): New function.

View File

@ -1282,14 +1282,6 @@ fold_stmt_1 (gimple_stmt_iterator *gsi, bool inplace)
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);
/* Fold *& on the lhs. Don't do this if stmt folded into nothing,