From ddc9c9893ac94a5bf3867278c6113e4dbb853d99 Mon Sep 17 00:00:00 2001 From: thopre01 Date: Tue, 28 Jul 2015 06:54:50 +0000 Subject: [PATCH] 2015-07-28 Thomas Preud'homme PR tree-optimization/66828 * tree-ssa-math-opts.c (perform_symbolic_merge): Change type of inc from int64_t to uint64_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226298 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/tree-ssa-math-opts.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90b4932a4f6..dcc18bdc77a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-28 Thomas Preud'homme + + PR tree-optimization/66828 + * tree-ssa-math-opts.c (perform_symbolic_merge): Change type of inc + from int64_t to uint64_t. + 2015-07-28 Dominik Vogt * opts-common.c (read_cmdline_option): List DriverOnly enum values diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 028a8320671..eae53580ec3 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -2122,7 +2122,7 @@ perform_symbolic_merge (gimple source_stmt1, struct symbolic_number *n1, the same base (array, structure, ...). */ if (gimple_assign_rhs1 (source_stmt1) != gimple_assign_rhs1 (source_stmt2)) { - int64_t inc; + uint64_t inc; HOST_WIDE_INT start_sub, end_sub, end1, end2, end; struct symbolic_number *toinc_n_ptr, *n_end; -- 2.11.4.GIT