https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387
Bug ID: 87387 Summary: runk/gcc/builtins.c:585:7: warning: explicitly assigning value of variable of type 'tree' (aka 'tree_node *') to itself [-Wself-assign] Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Source code is if (code == ADDR_EXPR && TREE_CODE (TREE_OPERAND (rhs1, 0)) == ARRAY_REF) rhs1 = rhs1; svn blame says 264328 law if (code == ADDR_EXPR 264328 law && TREE_CODE (TREE_OPERAND (rhs1, 0)) == ARRAY_REF) 264328 law rhs1 = rhs1;