https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That said, the function also contains bogus loop like:
  /* Descend into a struct or union to find the member whose address
     is being used as the agument.  */
  while (TREE_CODE (oper) == COMPONENT_REF)
    {
      tree op0 = oper;
      while (TREE_CODE (op0 = TREE_OPERAND (op0, 0)) == COMPONENT_REF);
      if (TREE_CODE (op0) == VAR_DECL)
        var_decl = op0;
      oper = TREE_OPERAND (oper, 1);
    }

TREE_OPERAND (, 1) of a COMPONENT_REF is a FIELD_DECL, so the loop doesn't make
sense, it will never loop more than once (so it is the same as if).
Martin, what exactly you've meant here?

Reply via email to