m68k.c (use_return_insn): Return false if the pic register is in use.

* config/m68k/m68k.c (use_return_insn): Return false if the pic
	register is in use.

From-SVN: r29755
This commit is contained in:
Andreas Schwab 1999-10-01 10:44:28 +00:00 committed by Andreas Schwab
parent 3cf965b7f6
commit 125ed86fee
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.c (use_return_insn): Return false if the pic
register is in use.
Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* md.texi (No Constraints): Delete section.

View File

@ -493,7 +493,10 @@ use_return_insn ()
for (regno = 0 ; regno < FIRST_PSEUDO_REGISTER ; regno++)
if (regs_ever_live[regno] && ! call_used_regs[regno])
return 0;
if (flag_pic && current_function_uses_pic_offset_table)
return 0;
return 1;
}