rs6000: Warn for "GCC vector passed by reference" only with -Wpsabi
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 12 Oct 2016 15:09:26 +0000 (17:09 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 12 Oct 2016 15:09:26 +0000 (17:09 +0200)
commit56b31d3e8235beccc7ccf9fb534888a9ab949a0c
treef13c56550063d7595d9618c5cc199f2222801158
parent4b77ac40f0fe35d541914de0227b5c37d88c619c
rs6000: Warn for "GCC vector passed by reference" only with -Wpsabi

* 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.

From-SVN: r241058
gcc/ChangeLog
gcc/config/rs6000/rs6000.c