This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Help with format checking for accepting parameters equivalentto "tree"
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 22:20:32 +0100 (BST)
- Subject: Re: Help with format checking for accepting parameters equivalentto "tree"
- References: <200306191658.MAA12916@caip.rutgers.edu>
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