This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000, 4.8/4.9] Fix alignment of non-Altivec vector struct fields


On Sat, Jul 26, 2014 at 01:45:12PM +0200, Matthias Klose wrote:
> Am 17.07.2014 02:41, schrieb Ulrich Weigand:
> > Hello,
> > 
> > this is the variant intended for the 4.8/4.9 branches of the patch:
> > https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01072.html
> > 
> > As discussed, it does *not* actually change ABI, but only warn when
> > encountering a situation where the ABI will change in a future GCC.
> > (Avoiding the specific term "GCC 4.10" here since I'm not certain
> > whether the next GCC release will in fact be called that ...)
> > 
> > Tested on powerpc64-linux and powerpc64le-linux; also verified using
> > the ABI compat suite (against an unpatched GCC) that this patch does
> > not change the ABI.
> 
> this causes PR libobjc/61920, link failures with -lobjc.

Try this.

Index: libobjc/encoding.c
===================================================================
--- libobjc/encoding.c	(revision 213090)
+++ libobjc/encoding.c	(working copy)
@@ -192,6 +192,7 @@
    ? MAX (MAX (COMPUTED, SPECIFIED), 64)				\
    : MAX (COMPUTED, SPECIFIED));})
 
+#define rs6000_special_adjust_field_align_p false
 
 /* Skip a variable name, enclosed in quotes (").  */
 static inline

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]