diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-04-26 03:43:17 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-04-26 03:43:17 +0000 |
commit | 7c95f621b31f1366bd1276146783103e81b0eb7d (patch) | |
tree | e60d57cffadb2517757416b209a15cc1c170da02 /gcc/function.c | |
parent | 29c246a7a7c5a90aa45a58924ddd1d6f67d1ba18 (diff) | |
download | gcc-7c95f621b31f1366bd1276146783103e81b0eb7d.zip gcc-7c95f621b31f1366bd1276146783103e81b0eb7d.tar.gz gcc-7c95f621b31f1366bd1276146783103e81b0eb7d.tar.bz2 |
fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 (NEGATE_EXPR, ...)).
* fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
fold (build1 (NEGATE_EXPR, ...)). Optimize X / -1 as -X and
X % -1 as 0.
From-SVN: r81177
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions