re PR target/36634 (-msecure-plt combine gives invalid call insn)
authorAlan Modra <amodra@bigpond.net.au>
Fri, 4 Jul 2008 02:32:01 +0000 (02:32 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 4 Jul 2008 02:32:01 +0000 (12:02 +0930)
commit1d3155fc2e6bcaf799aec31fe75c868dc2d0391b
tree06103566f1f3da55926dc539b33b52c72c34bd5a
parentaebde504ad45f511fbc01e81a1c4b829c0a86379
re PR target/36634 (-msecure-plt combine gives invalid call insn)

PR target/36634
* config/rs6000/rs6000.md (call, call_value): Don't arrange for
pic_offset_table_rtx to be marked as used here.
(call_nonlocal_sysv, call_value_nonlocal_sysv): Add split for
TARGET_SECURE_PLT to "use" pic_offset_table_rtx.
(call_nonlocal_sysv_secure, call_value_nonlocal_sysv_secure): New insn.
(sibcall_nonlocal_sysv, sibcall_value_nonlocal_sysv): Assert
!TARGET_SECURE_PLT.

From-SVN: r137447
gcc/ChangeLog
gcc/config/rs6000/rs6000.md