rs6000: Fix AIX aggregate passing fix
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 5 Dec 2018 01:04:11 +0000 (02:04 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 5 Dec 2018 01:04:11 +0000 (02:04 +0100)
commit4526e5eccb78947d0d54c7470aa5b2e187bb515e
tree93d904ccafe497ec053a1f336d6f3ed1499fa11f
parent561094eeaea3cfabb67f7be8b775ab145dbb5282
rs6000: Fix AIX aggregate passing fix

David's fix for the AIX aggregate passing from yesterday unfortunately
also triggers on powerpc64-linux.  This fixes it.

* config/rs6000/rs6000.c (rs6000_function_arg): Only do the special
aggregate handling on actual AIX, not on somewhat similar systems.
(rs6000_arg_partial_bytes): Ditto.

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