From ee60eb0fef5c6456da261da68310272c2398d530 Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Tue, 13 Apr 2010 15:47:38 +0000 Subject: [PATCH] PR middle-end/32628 * c-common.c (pointer_int_sum): Disregard overflow that occured only because of sign-extension change when converting to sizetype here... * fold-const.c (fold_convert_const_int_from_int): ...and not here. * fold-const.c (fold_binary_op_with_conditional_arg): Do not restrict the folding to constants. Remove redundant final conversion. (fold_binary) : Do not associate if the re-association of constants alone overflows. (fold_binary) : Move transformation into BIT_AND_EXPR to the end of the list. (multiple_of_p) : New case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158274 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 72aeed97ef1..402cb10e74e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +2010-04-13 Eric Botcazou + + PR middle-end/32628 + * c-common.c (pointer_int_sum): Disregard overflow that occured only + because of sign-extension change when converting to sizetype here... + * fold-const.c (fold_convert_const_int_from_int): ...and not here. + + * fold-const.c (fold_binary_op_with_conditional_arg): Do not restrict + the folding to constants. Remove redundant final conversion. + (fold_binary) : Do not associate if the re-association of + constants alone overflows. + (fold_binary) : Move transformation into BIT_AND_EXPR + to the end of the list. + (multiple_of_p) : New case. + 2010-04-13 Manuel López-Ibáñez * opt-functions.awk (opt_sanitized_name): New. -- 2.11.0