]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove global call sets: function.c
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2019 16:20:41 +0000 (16:20 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2019 16:20:41 +0000 (16:20 +0000)
commitc748a2c41a8f25b6a864d95847f4340c9bc29c07
tree29a3346655262eb6b17660d9c0a6ef6e1d3103a5
parentf88717c4cab1be22cffd656952dd078ecb1cdbc2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276322 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c