GTY on simple struct (Was: Re: Ping^6: contribute Synopsys Designware ARC port)

Diego Novillo dnovillo@google.com
Tue Oct 1 22:28:00 GMT 2013


On Tue, Oct 1, 2013 at 5:50 PM, Joern Rennecke
<joern.rennecke@embecosm.com> wrote:
> Quoting Diego Novillo <dnovillo@google.com>:
>
>> No need to mark struct arc_frame_info with GTY. It contains no pointers.
>
>
> That's not quite how it works.  machine_function needs GTY.  It uses
> arc_frame_info, hence arc_frame_info also needs GTY.

Gah, you're right.  I missed that connection.  Silly GC.


Diego.



More information about the Gcc-patches mailing list