Commit 68512012 by Thomas Preud'homme Committed by Thomas Preud'homme

re PR tree-optimization/66828 (gcc/tree-ssa-math-opts.c:2182:38: runtime error:…

re PR tree-optimization/66828 (gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int')

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
parent 85d91a6b
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment