aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-04-26 03:43:17 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-04-26 03:43:17 +0000
commit7c95f621b31f1366bd1276146783103e81b0eb7d (patch)
treee60d57cffadb2517757416b209a15cc1c170da02 /gcc/function.c
parent29c246a7a7c5a90aa45a58924ddd1d6f67d1ba18 (diff)
downloadgcc-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