Pointer Plus Patch
Wed Jun 13 10:34:00 GMT 2007
On 6/13/07, Paolo Bonzini <email@example.com> wrote:
> > ! = convert (sizetype,
> > size_diffop (size_zero_node, gnu_pos));
> Use fold_convert instead.
In fact, the convert is useless now, just remove it.
> > gnu_ptr = convert (gnu_char_ptr_type, gnu_ptr);
> Well, I'd use it here too but that's your call.
> > ! return build_binary_op (POINTER_PLUS_EXPR, type, expr,
> > ! fold (convert (sizetype, byte_diff)));
> > }
> Just use fold_convert here too, as byte_diff is returned from
> size_diffop here too.
just omit it as well.
More information about the Java-patches