mips.c (mips_set_current_function): Temporarily make this a no-op to fix bootstrap errors, pending rewrite.
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. From-SVN: r128245
This commit is contained in:
parent
74567c2cd1
commit
7c45aad5e6
2 changed files with 6 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
mips_set_current_function (tree fndecl ATTRIBUTE_UNUSED)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
/* Implement TARGET_HANDLE_OPTION. */
|
||||
|
|
Loading…
Add table
Reference in a new issue