Re: Question about GTY machinery (cgraph_edge)

2005-03-01 Thread Geoffrey Keating
Richard Guenther <[EMAIL PROTECTED]> writes: > Hi! > > struct cgraph_edge is currently member of two lists, i.e. > it contains two "next" pointers, but is annotated like > > struct cgraph_edge GTY((chain_next ("%h.next_caller"))) > { > struct cgraph_node *caller; > struct cgraph_node *callee

Re: Question about GTY machinery (cgraph_edge)

2005-03-01 Thread Steven Bosscher
On Mar 01, 2005 02:28 PM, Richard Guenther <[EMAIL PROTECTED]> wrote: > Is it possible and beneficial to have both next pointers > annotated with chain_next? Unfortunately it is not. There are other places where this would be useful, but gengtype does not support this at the moment. Gr. Steven

Question about GTY machinery (cgraph_edge)

2005-03-01 Thread Richard Guenther
Hi! struct cgraph_edge is currently member of two lists, i.e. it contains two "next" pointers, but is annotated like struct cgraph_edge GTY((chain_next ("%h.next_caller"))) { struct cgraph_node *caller; struct cgraph_node *callee; struct cgraph_edge *next_caller; struct cgraph_edge *next_