Commit 8c38a24f by Michael Matz Committed by Michael Matz

i386.c (ix86_save_reg): Also test current_function_uses_const_pool.

	* i386/i386.c (ix86_save_reg): Also test
        current_function_uses_const_pool.

From-SVN: r63840
parent 336d0d96
2003-03-05 Michael Matz <matz@suse.de> 2003-03-05 Michael Matz <matz@suse.de>
* i386/i386.c (ix86_save_reg): Also test
current_function_uses_const_pool.
2003-03-05 Michael Matz <matz@suse.de>
* unwind.h: Add the GPL exception. * unwind.h: Add the GPL exception.
* Makefile.in (USER_H): Add unwind.h. * Makefile.in (USER_H): Add unwind.h.
......
...@@ -4827,7 +4827,8 @@ ix86_save_reg (regno, maybe_eh_return) ...@@ -4827,7 +4827,8 @@ ix86_save_reg (regno, maybe_eh_return)
&& regno == REAL_PIC_OFFSET_TABLE_REGNUM && regno == REAL_PIC_OFFSET_TABLE_REGNUM
&& (regs_ever_live[REAL_PIC_OFFSET_TABLE_REGNUM] && (regs_ever_live[REAL_PIC_OFFSET_TABLE_REGNUM]
|| current_function_profile || current_function_profile
|| current_function_calls_eh_return)) || current_function_calls_eh_return
|| current_function_uses_const_pool))
{ {
if (ix86_select_alt_pic_regnum () != INVALID_REGNUM) if (ix86_select_alt_pic_regnum () != INVALID_REGNUM)
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment