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/encoding.c | |
| 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/encoding.c')
| -rw-r--r-- | libobjc/encoding.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |

