This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Write name of address of MEM
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Write name of address of MEM
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 19 Oct 2001 22:14:19 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <10110191930.AA26283@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
[...]
| + static tree
| + get_decl_from_op (op, paddressp)
| + rtx op;
| + int *paddressp;
| + {
| + tree decl;
| + int inner_addressp;
| +
| + *paddressp = 0;
| +
| + if (GET_CODE (op) == REG)
| + return REGNO_DECL (ORIGINAL_REGNO (op));
| + else if (GET_CODE (op) != MEM)
| + return 0;
Just a minor question about style: Is it preferred to use 0 in lieu
of NULL or NULL_TREE ?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com