bb-reorder.c (copy_bb_p): Don't overflow size calculation.
commita0d87c29e29ba298f80e47fad57431ae3104447f
authorAlan Modra <amodra@gmail.com>
Mon, 3 Jun 2019 17:35:47 +0000 (4 03:05 +0930)
committerJeff Law <law@gcc.gnu.org>
Mon, 3 Jun 2019 17:35:47 +0000 (3 11:35 -0600)
tree1f67eb71410c97fcac80dafc5aa3f008ebabd34e
parent7cfe71d1d271cd6f5d181a75a25d535e67448f0d
bb-reorder.c (copy_bb_p): Don't overflow size calculation.

* bb-reorder.c (copy_bb_p): Don't overflow size calculation.
(get_uncond_jump_length): Assert length less than INT_MAX and
non-negative.

From-SVN: r271877
gcc/ChangeLog
gcc/bb-reorder.c