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: GC special object sizes


Steven Bosscher wrote:-

> If there was an elegant check to see if an extra_order_size was a power
> of two, I would implement it so that we'd ignore extra page orders for
> such sizes in init_ggc in ggc-page.  (This would also allow us to have

Is this what you mean?

	x && !(x & (x - 1))

Neil.


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