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
; Subject: Re: Pointer addition/subtraction tree node > > 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 tre

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

Pointer addition/subtraction tree node

2007-03-18 Thread Alexander Lamaison
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 pointer and which is the integer that has been added to it.