diff options
| author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-28 14:32:13 +0000 |
|---|---|---|
| committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-28 14:32:13 +0000 |
| commit | 3523d49e8e573ded7ae9609369dc6df31d6bfbc9 (patch) | |
| tree | 576c8253eaaf400bd425b95372f4ccf9de41f914 /libobjc | |
| parent | 18bd1d03ca51479d188f8c34b0b717ad358903d1 (diff) | |
| download | ppe42-gcc-3523d49e8e573ded7ae9609369dc6df31d6bfbc9.tar.gz ppe42-gcc-3523d49e8e573ded7ae9609369dc6df31d6bfbc9.zip | |
PR libobjc/61920
* encoding.c (rs6000_special_adjust_field_align_p): Use definition
that matches the 4.9 branch ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
| -rw-r--r-- | libobjc/ChangeLog | 6 | ||||
| -rw-r--r-- | libobjc/encoding.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index f20e96157a2..9d7969bc450 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2014-07-28 Ulrich Weigand <uweigand@de.ibm.com> + + PR libobjc/61920 + * encoding.c (rs6000_special_adjust_field_align_p): Use definition + that matches the 4.9 branch ABI. + 2014-07-27 Alan Modra <amodra@gmail.com> Matthias Klose <doko@ubuntu.com> diff --git a/libobjc/encoding.c b/libobjc/encoding.c index a603b8c3c7a..c476f22ad4e 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -192,7 +192,8 @@ _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec) ? MAX (MAX (COMPUTED, SPECIFIED), 64) \ : MAX (COMPUTED, SPECIFIED));}) -#define rs6000_special_adjust_field_align_p(FIELD, COMPUTED) 0 +#define rs6000_special_adjust_field_align_p(FIELD, COMPUTED) \ + (TARGET_ALTIVEC && TREE_CODE (TREE_TYPE (FIELD)) == VECTOR_TYPE) /* Skip a variable name, enclosed in quotes ("). */ static inline |

