------- Comment #10 from pinskia at gcc dot gnu dot org  2007-03-18 17:21 
-------
An improvement to the loop in the function:
  /* Strip away any outer COMPONENT_REF/ARRAY_REF nodes from the LHS. 
     ADDR_EXPR will not appear on the LHS.  */
  lhs = GIMPLE_STMT_OPERAND (use_stmt, 0);
  while (TREE_CODE (lhs) == COMPONENT_REF || TREE_CODE (lhs) == ARRAY_REF)
    lhs = TREE_OPERAND (lhs, 0);

Really should be:

  while (handled_component_p (lhs) == COMPONENT_REF)
    lhs = TREE_OPERAND (lhs, 0);


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31254

Reply via email to