Re: [PATCH GCC]Fix memory leak and wrong invariant dependence computation in IVOPT

2015-10-28 Thread Richard Biener
On Wed, Oct 28, 2015 at 3:12 AM, Bin Cheng wrote: > Hi, > When address iv uses grouping was introduced, I also introduced memory leak > and wrong computation of depends_on bitmap. The intention is to skip > `depends_on' computation for sub address type iv uses. Unfortunately, the > code is wrong

[PATCH GCC]Fix memory leak and wrong invariant dependence computation in IVOPT

2015-10-27 Thread Bin Cheng
Hi, When address iv uses grouping was introduced, I also introduced memory leak and wrong computation of depends_on bitmap. The intention is to skip `depends_on' computation for sub address type iv uses. Unfortunately, the code is wrong because depends_on is freed in subsequent calls to get_compu