i386: Pass INVALID_REGNUM as invalid register number
commit547974b6ad46cee592b93ca42fe71d5eabdd3d95
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Feb 2018 16:43:46 +0000 (2 16:43 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Feb 2018 16:43:46 +0000 (2 16:43 +0000)
treeae466db17e7c09f0dd3a3045652ab83c8e7c07f4
parent84be72469dffe46d3129a26abe4b1b5787ae34a6
i386: Pass INVALID_REGNUM as invalid register number

* config/i386/i386.c (ix86_output_function_return): Pass
INVALID_REGNUM, instead of -1, as invalid register number to
indirect_thunk_name and output_indirect_thunk.

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