mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 18:20:51 +08:00
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
This commit is contained in:
parent
816002df70
commit
2cfa504a08
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user