Remove global call sets: function.c
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 30 Sep 2019 16:20:41 +0000 (16:20 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 30 Sep 2019 16:20:41 +0000 (16:20 +0000)
commitc1b582720a39c3cb944aaff0298f721cdd034e3f
tree29a3346655262eb6b17660d9c0a6ef6e1d3103a5
parent1849569621d13c9c070c555f9463ad289afb8416
Remove global call sets: function.c

Whatever the rights and wrongs of the way aggregate_value_p
handles call-preserved registers, it's a de facto part of the ABI,
so we shouldn't change it.  The patch simply extends the current
approach to whatever call-preserved set the function happens to
be using.

2019-09-30  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* function.c (aggregate_value_p): Work out which ABI the
function is using before testing which registers are at least
partly preserved by a call.

From-SVN: r276322
gcc/ChangeLog
gcc/function.c