This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PowerPC] Fix PR57949 (ABI alignment issue)
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Aug 2013 16:26:59 -0400
- Subject: Re: [PATCH, PowerPC] Fix PR57949 (ABI alignment issue)
- References: <1376494321 dot 17852 dot 17 dot camel at oc8801110288 dot ibm dot com>
On Wed, Aug 14, 2013 at 11:32 AM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Bootstrapped and tested on powerpc64-unknown-linux-gnu with no
> regressions. Ok for trunk?
>
> Thanks,
> Bill
>
>
> gcc:
>
> 2013-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
>
> PR target/57949
> * doc/invoke.texi: Add documentation of mcompat-align-parm
> option.
> * config/rs6000/rs6000.opt: Add mcompat-align-parm option.
> * config/rs6000/rs6000.c (rs6000_function_arg_boundary): For AIX
> and Linux, correct BLKmode alignment when 128-bit alignment is
> required and compatibility flag is not set.
> (rs6000_gimplify_va_arg): For AIX and Linux, honor specified
> alignment for zero-size arguments when compatibility flag is not
> set.
>
> gcc/testsuite:
>
> 2013-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
>
> PR target/57949
> * gcc.target/powerpc/pr57949-1.c: New.
> * gcc.target/powerpc/pr57949-2.c: New.
I don't have any better suggestion on the option name.
LGTM.
Thanks, David