This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Pasto in is_old_name: s/new_ssa_names/old_ssa_names/g


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]