diff options
author | sandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 15:59:44 +0000 |
---|---|---|
committer | sandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 15:59:44 +0000 |
commit | cdc47811a2f9d6920f361ba1e903b9cfa7b94034 (patch) | |
tree | 5d6db0dbf1576bf24f4531cff0c40b47f81a97bb /gcc | |
parent | fc6b8acef9daa06b56e63c8fbfdca38fba3df90f (diff) | |
download | gcc-cdc47811a2f9d6920f361ba1e903b9cfa7b94034.tar.gz |
2007-09-07 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/mips/mips.c (mips_set_current_function): Temporarily
make this a no-op to fix bootstrap errors, pending rewrite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128245 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 15 |
2 files changed, 7 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f846a22499..af0c7af1801 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-07 Sandra Loosemore <sandra@codesourcery.com> + + * config/mips/mips.c (mips_set_current_function): Temporarily + make this a no-op to fix bootstrap errors, pending rewrite. + 2007-09-07 Jan Hubicka <jh@suse.cz> * reorg.c (dbr_schedule): Move code removing placeholder USEs later diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 2bbfec75b35..2063100fa82 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -5344,19 +5344,8 @@ mips_set_mips16_mode (int mips16_p) function should use the MIPS16 ISA and switch modes accordingly. */ static void -mips_set_current_function (tree fndecl) -{ - int mips16p; - if (errorcount || sorrycount) - /* Avoid generating RTL when fndecl is possibly invalid. Best to fall - back on non-MIPS16 mode to avoid any strange secondary errors about - use of unsupported features in MIPS16 mode. */ - mips16p = false; - else if (fndecl) - mips16p = SYMBOL_REF_MIPS16_FUNC_P (XEXP (DECL_RTL (fndecl), 0)); - else - mips16p = mips_base_mips16; - mips_set_mips16_mode (mips16p); +mips_set_current_function (tree fndecl ATTRIBUTE_UNUSED) +{ } /* Implement TARGET_HANDLE_OPTION. */ |