aboutsummaryrefslogtreecommitdiff
path: root/gcc/mode-switching.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r--gcc/mode-switching.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c
index 7ea241c..d03430a 100644
--- a/gcc/mode-switching.c
+++ b/gcc/mode-switching.c
@@ -445,7 +445,7 @@ optimize_mode_switching (void)
int i, j;
int n_entities;
int max_num_modes = 0;
- bool emited ATTRIBUTE_UNUSED = false;
+ bool emitted ATTRIBUTE_UNUSED = false;
basic_block post_entry ATTRIBUTE_UNUSED, pre_exit ATTRIBUTE_UNUSED;
for (e = N_ENTITIES - 1, n_entities = 0; e >= 0; e--)
@@ -704,7 +704,7 @@ optimize_mode_switching (void)
/* Insert MODE_SET only if it is nonempty. */
if (mode_set != NULL_RTX)
{
- emited = true;
+ emitted = true;
if (NOTE_INSN_BASIC_BLOCK_P (ptr->insn_ptr))
emit_insn_after (mode_set, ptr->insn_ptr);
else
@@ -731,7 +731,7 @@ optimize_mode_switching (void)
#if defined (MODE_ENTRY) && defined (MODE_EXIT)
cleanup_cfg (CLEANUP_NO_INSN_DEL);
#else
- if (!need_commit && !emited)
+ if (!need_commit && !emitted)
return 0;
#endif