This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Pointer Plus Patch
- From: Tobias Schlüter <Tobias dot Schlueter at physik dot uni-muenchen dot de>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org, Fortran List <fortran at gcc dot gnu dot org>
- Date: Wed, 13 Jun 2007 11:25:42 +0200
- Subject: Re: Pointer Plus Patch
- References: <de8d50360706130147x75373c0eie94f95eb7964769a@mail.gmail.com>
Andrew Pinski wrote:
*** 2292,2297 ****
--- 2293,2304 ----
not matter. The type of the operands and that of the result are
always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}.
+ @itemx POINTER_PLUS_EXPR
+ This node represents pointer arithmetic. The first operand is always
+ a pointer/reference type. The second operand is always an unsigned
+ integer type compatiable with sizetype. This is the only binary
s/compatiable/compatible/
+ arthemetic operand that can operate on pointer types.
s/arthmeitc/arithmetic/
The Fortran parts are ok. As for the ChangeLog, I'd prefer to have it
merged into the main ChangeLog. That makes it easier to grep for stuff,
especially in a few years when noone remembers which branches stuff may
come from. Keeping separate ChangeLog files for all branches would also
lead to a wide variety of ChangeLog.* files that just lie around and
serve no purpose.
Cheers,
- Tobi