This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Pasto in is_old_name: s/new_ssa_names/old_ssa_names/g
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 17 Oct 2014 10:30:42 +0200 (CEST)
- Subject: Pasto in is_old_name: s/new_ssa_names/old_ssa_names/g
- Authentication-results: sourceware.org; auth=none
Hello,
this trivial fix was pre-approved by Richard, I regtested and committed
it.
2014-10-17 Marc Glisse <marc.glisse@inria.fr>
* tree-into-ssa.c (is_old_name): Replace "new" with "old".
--- tree-into-ssa.c (revision 216366)
+++ tree-into-ssa.c (working copy)
@@ -572,23 +572,23 @@ set_livein_block (tree var, basic_block
info->need_phi_state = NEED_PHI_STATE_MAYBE;
}
/* Return true if NAME is in OLD_SSA_NAMES. */
static inline bool
is_old_name (tree name)
{
unsigned ver = SSA_NAME_VERSION (name);
- if (!new_ssa_names)
+ if (!old_ssa_names)
return false;
- return (ver < SBITMAP_SIZE (new_ssa_names)
+ return (ver < SBITMAP_SIZE (old_ssa_names)
&& bitmap_bit_p (old_ssa_names, ver));
}
/* Return true if NAME is in NEW_SSA_NAMES. */
static inline bool
is_new_name (tree name)
{
unsigned ver = SSA_NAME_VERSION (name);
--
Marc Glisse