]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/53968 (integer undefined behaviors in GCC)
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Aug 2012 12:39:54 +0000 (14:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Aug 2012 12:39:54 +0000 (14:39 +0200)
commiteb87c7c4890b87d5f228b9261c2e3b3a5b81acd7
treead4832638401fe5e5c7f1ec4cd85012761658f24
parent6a9573cc7b1d527e61f4ef7900c0a1c21203e24a
re PR c/53968 (integer undefined behaviors in GCC)

PR c/53968
* tree.c (integer_pow2p): Avoid undefined signed overflows.
* simplify-rtx.c (neg_const_int): Likewise.
* expr.c (fixup_args_size_notes): Likewise.
* stor-layout.c (set_min_and_max_values_for_integral_type): Likewise.
* double-int.c (mul_double_wide_with_sign): Likewise.
(double_int_mask): Likewise.
* tree-ssa-loop-ivopts.c (get_address_cost): Likewise.

From-SVN: r190342
gcc/ChangeLog
gcc/double-int.c
gcc/expr.c
gcc/simplify-rtx.c
gcc/stor-layout.c
gcc/tree-ssa-loop-ivopts.c
gcc/tree.c