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, v2] Fix ELFv2 homogeneous float aggregate ABI bug


On Mon, Jul 14, 2014 at 2:52 PM, Ulrich Weigand <uweigand@de.ibm.com> wrote:
> Hello,
>
> this patch updates the prior version:
> https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00632.html
> to add a -Wpsabi note as discussed.
>
> (We may need to change the "GCC 4.10" string if the next release turns out
> to get a different name ...)
>
> In a testsuite run, this note triggers only in those two ABI compat suite
> test cases mentioned in the previous patch email (only on ELFv2, of course).
>
> Tested on powerpc64le-linux.
>
> OK for mainline?
>
> Bye,
> Ulrich
>
>
> gcc/testsuite/ChangLog:
>
>         * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
>         does not fit fully into floating-point registers, and there is still
>         space in the register parameter area, use GPRs to pass those parts
>         of the argument.  Issue -Wpsabi note if any parameter is now treated
>         differently than before.
>         (rs6000_arg_partial_bytes): Update.
>
> gcc/testsuite/ChangLog:
>
>         * gcc.target/powerpc/ppc64-abi-warn-2.c: New test.

This patch is okay.

Thanks, David


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