This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262494 - in /trunk/gcc: ChangeLog calls.c cp/C...
- From: aldyh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 07 Jul 2018 08:49:10 -0000
- Subject: r262494 - in /trunk/gcc: ChangeLog calls.c cp/C...
Author: aldyh
Date: Sat Jul 7 08:49:04 2018
New Revision: 262494
URL: https://gcc.gnu.org/viewcvs?rev=262494&root=gcc&view=rev
Log:
* tree-vrp.c (vrp_int_const_binop): Change overflow type to
overflow_type.
(combine_bound): Use wide-int overflow calculation instead of
rolling our own.
* calls.c (maybe_warn_alloc_args_overflow): Change overflow type to
overflow_type.
* fold-const.c (int_const_binop_2): Same.
(extract_muldiv_1): Same.
(fold_div_compare): Same.
(fold_abs_const): Same.
* match.pd: Same.
* poly-int.h (add): Same.
(sub): Same.
(neg): Same.
(mul): Same.
* predict.c (predict_iv_comparison): Same.
* profile-count.c (slow_safe_scale_64bit): Same.
* simplify-rtx.c (simplify_const_binary_operation): Same.
* tree-chrec.c (tree_fold_binomial): Same.
* tree-data-ref.c (split_constant_offset_1): Same.
* tree-if-conv.c (idx_within_array_bound): Same.
* tree-scalar-evolution.c (iv_can_overflow_p): Same.
* tree-ssa-phiopt.c (minmax_replacement): Same.
* tree-vect-loop.c (is_nonwrapping_integer_induction): Same.
* tree-vect-stmts.c (vect_truncate_gather_scatter_offset): Same.
* vr-values.c (vr_values::adjust_range_with_scev): Same.
* wide-int.cc (wi::add_large): Same.
(wi::mul_internal): Same.
(wi::sub_large): Same.
(wi::divmod_internal): Same.
* wide-int.h: Change overflow type to overflow_type for neg, add,
mul, smul, umul, div_trunc, div_floor, div_ceil, div_round,
mod_trunc, mod_ceil, mod_round, add_large, sub_large,
mul_internal, divmod_internal.
(overflow_type): New enum.
(accumulate_overflow): New.
cp/
* decl.c (build_enumerator): Change overflow type to overflow_type.
* init.c (build_new_1): Same.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/calls.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/init.c
trunk/gcc/fold-const.c
trunk/gcc/match.pd
trunk/gcc/poly-int.h
trunk/gcc/predict.c
trunk/gcc/profile-count.c
trunk/gcc/simplify-rtx.c
trunk/gcc/testsuite/gcc.dg/plugin/poly-int-tests.h
trunk/gcc/tree-chrec.c
trunk/gcc/tree-data-ref.c
trunk/gcc/tree-if-conv.c
trunk/gcc/tree-scalar-evolution.c
trunk/gcc/tree-ssa-phiopt.c
trunk/gcc/tree-vect-loop.c
trunk/gcc/tree-vect-stmts.c
trunk/gcc/tree-vrp.c
trunk/gcc/vr-values.c
trunk/gcc/wide-int.cc
trunk/gcc/wide-int.h