]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-ssa-reassoc.c
tree-vect-loop-manip.c (vect_can_advance_ivs_p): Query is_gimple_reg on the SSA name...
[thirdparty/gcc.git] / gcc / tree-ssa-reassoc.c
index 179ceb7c74ed408b4c2b52ff340551b37b903a90..5b301f6df8ba7d495d7442eb4d8079ddaf857808 100644 (file)
@@ -234,7 +234,7 @@ phi_rank (gimple stmt)
 
   /* Ignore virtual SSA_NAMEs.  */
   res = gimple_phi_result (stmt);
-  if (!is_gimple_reg (SSA_NAME_VAR (res)))
+  if (!is_gimple_reg (res))
     return bb_rank[bb->index];
 
   /* The phi definition must have a single use, and that use must be