re PR tree-optimization/66828 (gcc/tree-ssa-math-opts.c:2182:38: runtime error: left...
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 28 Jul 2015 06:54:50 +0000 (06:54 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 28 Jul 2015 06:54:50 +0000 (06:54 +0000)
2015-07-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    PR tree-optimization/66828
    * tree-ssa-math-opts.c (perform_symbolic_merge): Change type of inc
    from int64_t to uint64_t.

From-SVN: r226298

gcc/ChangeLog
gcc/tree-ssa-math-opts.c

index 90b4932a4f6f8dae3a539766cf080757796cc1c0..dcc18bdc77a98b8b95d251f51f0bedb625c39da0 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       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  <vogt@linux.vnet.ibm.com>
 
        * opts-common.c (read_cmdline_option): List DriverOnly enum values
index 028a83206718e7a767d73615ff7eb880a6fd0bb6..eae53580ec3c696eea30db32a2743629dbcbb03a 100644 (file)
@@ -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;