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: Help with format checking for accepting parameters equivalentto "tree"


On Thu, 19 Jun 2003, Kaveh R. Ghazi wrote:

> The first thought is I'm registering the wrong type, in the sense that
> I shouldn't register "tree" but instead I should register a "union
> tree_node *", but I can't figure out how to get the "type" out of an

You should register "union tree_node": the tables separately store the
target type and the number of levels of indirection.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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