ggc_alloc_rtvec_sized allocates spaces more than necessary?
Andreas Schwab
schwab@linux-m68k.org
Tue Aug 16 07:24:00 GMT 2011
Laurynas Biveinis <laurynas.biveinis@gmail.com> writes:
> 2011/8/15 Andreas Schwab <schwab@linux-m68k.org>:
>> I think it was meant to be this:
>>
>> #define ggc_alloc_rtvec_sized(NELT) \
>> ggc_alloc_zone_rtvec_def (sizeof (struct rtvec_def) \
>> + ((NELT) - 1) * sizeof (rtx), \
>> &rtl_zone)
>
> Note that ggc_alloc_zone_rtvec_def takes three args, not two.
No, it does not of course.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list