On Thu, Oct 06, 2016 at 07:57:36PM +0000, Segher Boessenkool wrote: > As suggested by Jakub in > https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00305.html . > The warning name isn't so super for us, but the option is undocumented > anyway; maybe it means "warn for particularly surprising abi differences".
LGTM. The x86 backend uses it for the same purpose. I bet the reason for -Wpsabi is that we already had -Wabi at that time (used for C++ ABI changes) and so it doesn't mean exactly psABI, but just processor specific ABI. > 2016-10-06 Segher Boessenkool <seg...@kernel.crashing.org> > > * config/rs6000/rs6000.c (rs6000_return_in_memory): Warn for > vector return by reference only if -Wpsabi. > (rs6000_pass_by_reference): Similarly, for argument passing. Jakub