diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-03-26 10:17:10 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-03-26 10:17:10 +0100 |
commit | 368b454d67fe613c8f7d588400b874584ef9f893 (patch) | |
tree | e5851048627095b50a086856c5651b462c6c116f /gcc/ipa-devirt.c | |
parent | ee0cff60490d42c50e5db6a5cba41c70ac6c1433 (diff) | |
download | gcc-368b454d67fe613c8f7d588400b874584ef9f893.zip gcc-368b454d67fe613c8f7d588400b874584ef9f893.tar.gz gcc-368b454d67fe613c8f7d588400b874584ef9f893.tar.bz2 |
tree-vrp.c (simplify_internal_call_using_ranges): If only one range is range_int_cst_p...
* tree-vrp.c (simplify_internal_call_using_ranges): If only
one range is range_int_cst_p, but not both, at least optimize
addition/subtraction of 0 and multiplication by 0 or 1.
* gimple-fold.c (gimple_fold_call): Fold
IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
(gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
INTEGER_CSTs, try to fold at least x * 0 and y - y.
From-SVN: r208840
Diffstat (limited to 'gcc/ipa-devirt.c')
0 files changed, 0 insertions, 0 deletions