[VRP] Allocate bitmap before copying

kugan kugan.vivekanandarajah@linaro.org
Sat Oct 8 19:34:00 GMT 2016


Hi,

In vrp_intersect_ranges_1, when !vr0->equiv, we are copying vr1->equiv 
without allocating bitmap. This patch fixes this.

Bootstrap and regression testing are ongoing. Is this OK if no new 
regressions?

Thanks,
Kugan

gcc/ChangeLog:

2016-10-09  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* tree-vrp.c (vrp_intersect_ranges_1): Allocate bitmap before
	  copying.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Alloc-bitmap.patch
Type: text/x-patch
Size: 814 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161008/6fcf0db2/attachment.bin>


More information about the Gcc-patches mailing list