diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-08-13 12:39:54 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2012-08-13 12:39:54 +0000 |
commit | 2cb921e7acc3dd2340e35f6c6fb840a500964890 (patch) | |
tree | ad4832638401fe5e5c7f1ec4cd85012761658f24 /gcc/expr.c | |
parent | 4dd8e31f8c871069d739e4ba74af3c1517c53005 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190342 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 69e043dd4d9..4e7eb5fbf4c 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -3828,7 +3828,7 @@ fixup_args_size_notes (rtx prev, rtx last, int end_args_size) add_reg_note (insn, REG_ARGS_SIZE, GEN_INT (args_size)); #ifdef STACK_GROWS_DOWNWARD - this_delta = -this_delta; + this_delta = -(unsigned HOST_WIDE_INT) this_delta; #endif args_size -= this_delta; } |