RE: Pointer addition/subtraction tree node

2007-03-19 Thread Alexander Lamaison
> -Original Message- > From: Andrew Pinski [mailto:[EMAIL PROTECTED] > Sent: 19 March 2007 00:47 > To: Alexander Lamaison > Cc: gcc@gcc.gnu.org > Subject: Re: Pointer addition/subtraction tree node > > On 3/18/07, Alexander Lamaison <[EMAIL PROTECTED]> wrot

RE: Pointer addition/subtraction tree node

2007-03-19 Thread Alexander Lamaison
is not a VAR_DECL. I don't think my theory is sounds but if it is, is there a way to get this to work? Thanks. Alex. > -Original Message- > From: Andrew Pinski [mailto:[EMAIL PROTECTED] > Sent: 19 March 2007 00:47 > To: Alexander Lamaison > Cc: gcc@gcc.gnu.org >

Re: Pointer addition/subtraction tree node

2007-03-18 Thread Andrew Pinski
On 3/18/07, Alexander Lamaison <[EMAIL PROTECTED]> wrote: As part of adding a new pass to GCC I am intercepting addition to and subtraction from pointers. These are represented by PLUS_EXPR and MINUS_EXPR tree nodes. I need to be able to find out which of the node's two operands is the actual p