Commit 2cfa504a by Thomas Preud'homme Committed by Thomas Preud'homme

tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of init_symbolic_number ().

2014-06-09  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
    init_symbolic_number ().

From-SVN: r211395
parent 816002df
2014-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
* tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
init_symbolic_number ().
2014-05-18 John David Anglin <danglin@gcc.gnu.org>
PR middle-end/61141
......
......@@ -1784,7 +1784,8 @@ find_bswap_or_nop_load (gimple stmt, tree ref, struct symbolic_number *n)
if (bitsize % BITS_PER_UNIT)
return false;
init_symbolic_number (n, ref);
if (!init_symbolic_number (n, ref))
return false;
n->base_addr = base_addr;
n->offset = offset;
n->bytepos = bitpos / BITS_PER_UNIT;
......
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