1 2007-06-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
3 * trans.c (Attribute_to_gnu): Use fold_build1 instead
4 of build1 for NEGATE_EXPR.
5 (gnat_to_gnu): Likewise.
7 2007-05-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
9 * trans.c (Attribute_to_gnu): When subtracting an
10 offset from a pointer, use POINTER_PLUS_EXPR with
11 NEGATE_EXPR instead of MINUS_EXPR.
12 (gnat_to_gnu): Likewise.
13 * utils.c (convert): When converting between
14 thin pointers, use POINTER_PLUS_EXPR and sizetype
16 * utils2.c (known_alignment): POINTER_PLUS_EXPR
17 have the same semantics as PLUS_EXPR for alignment.
18 (build_binary_op): Add support for the semantics of
19 POINTER_PLUS_EXPR's operands.
20 When adding an offset to a pointer, use POINTER_PLUS_EXPR.