| 1 |
2007-06-14 Andrew Pinski <[email protected]> |
| 2 |
|
| 3 |
* trans.c (Attribute_to_gnu): Use fold_build1 instead |
| 4 |
of build1 for NEGATE_EXPR. |
| 5 |
(gnat_to_gnu): Likewise. |
| 6 |
|
| 7 |
2007-05-12 Andrew Pinski <[email protected]> |
| 8 |
|
| 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 |
| 15 |
for the offset. |
| 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. |
| 21 |
|
| 22 |
|
| 23 |
Copyright (C) 2007 Free Software Foundation, Inc. |
| 24 |
|
| 25 |
Copying and distribution of this file, with or without modification, |
| 26 |
are permitted in any medium without royalty provided the copyright |
| 27 |
notice and this notice are preserved. |