This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix memory corruption bug in tm_region_init


On 03/05/12 12:47, Richard Henderson wrote:
On 03/05/2012 10:37 AM, Aldy Hernandez wrote:
I thought there'd be a lot less overhead by callocing the value myself. Is the overhead negligible?

Yes, it's negligible.


I can certainly make it a VEC in a follow up patch if you want, though I'll commit this now so I can at get Rainer and Torvald happy while I do so.

Certainly.



r~


Conversion to vectors.

I reduced the count to just last_basic_blocks, as I don't think we need to add NUM_FIXED_BLOCKS. The original NUM_FIXED_BLOCKS was probably a kludge because I was using the wrong size and things didn't match.

I also changed the name so we don't get confused any more :).

OK for trunk and 4.7 branch?

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]