gimple-fold.c (has_use_on_stmt): New function.
authorRichard Biener <rguenther@suse.de>
Wed, 29 Jul 2015 07:48:10 +0000 (07:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 29 Jul 2015 07:48:10 +0000 (07:48 +0000)
commit89a79e9629f0713df2c893133084563b5082e8e8
tree30f84f7ebfcbe5a923d5cdd4e03e8e2e2fc83e84
parent97d8f80175e83ea6b1057710b02aaecc53988c46
gimple-fold.c (has_use_on_stmt): New function.

2015-07-29  Richard Biener  <rguenther@suse.de>

* gimple-fold.c (has_use_on_stmt): New function.
(replace_stmt_with_simplification): Use it to allow
abnormals originally referenced in the stmt.
(fold_stmt_1): Canonicalize operand order.

From-SVN: r226339
gcc/ChangeLog
gcc/gimple-fold.c