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, PowerPC] Fix PR57949 (ABI alignment issue)


On 09/12/2013 03:11 AM, Alan Modra wrote:
> We have precedent for compiling libffi based on gcc preprocessor
> defines, eg. __NO_FPRS__, so here's a way of making upstream libffi
> compatible with the various versions of gcc out there.  I've taken the
> condition under which we align aggregates from
> rs6000_function_arg_boundary, and defined a macro with a value of the
> maximum alignment.

I would have thought that a runtime or configure-time test in libffi
would be better.

Andrew.


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