S/390: Fix PR84295
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 9 Feb 2018 11:42:34 +0000 (11:42 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 9 Feb 2018 11:42:34 +0000 (11:42 +0000)
commitc704706201e54b922001b86ecfd81df60772563f
tree6d08d7278be77a7692b7ea3ef83092285ecfc894
parent0805a34d5f2a42052452ccc3ea45fde7975ff417
S/390: Fix PR84295

gcc/ChangeLog:

2018-02-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/PR84295
* config/s390/s390.c (s390_set_current_function): Invoke
s390_indirect_branch_settings also if fndecl didn't change.

gcc/testsuite/ChangeLog:

2018-02-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/PR84295
* gcc.target/s390/pr84295.c: New test.

From-SVN: r257522
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/pr84295.c [new file with mode: 0644]