Help with format checking for accepting parameters equivalent to "tree"

Joseph S. Myers jsm28@cam.ac.uk
Thu Jun 19 21:26:00 GMT 2003


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



More information about the Gcc-patches mailing list