diff options
author | Michael Matz <matz@suse.de> | 2003-03-05 13:06:50 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2003-03-05 13:06:50 +0000 |
commit | 8c38a24fa04d1955502395f4dc05915fbf9da886 (patch) | |
tree | 75fa97077e0a0bbea8ed09c0cee01a596a6930ef | |
parent | 336d0d96d0494f269832c492bd32f7402345ec40 (diff) | |
download | gcc-8c38a24fa04d1955502395f4dc05915fbf9da886.zip gcc-8c38a24fa04d1955502395f4dc05915fbf9da886.tar.gz gcc-8c38a24fa04d1955502395f4dc05915fbf9da886.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6155b43..421f8c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. * Makefile.in (USER_H): Add unwind.h. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 639ea1b..ab2a935 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4827,7 +4827,8 @@ ix86_save_reg (regno, maybe_eh_return) && regno == REAL_PIC_OFFSET_TABLE_REGNUM && (regs_ever_live[REAL_PIC_OFFSET_TABLE_REGNUM] || 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) return 0; |