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

--- Comment #6 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Does this fix it (on both machines)?

Index: tree-ssa-strlen.c
===================================================================
--- tree-ssa-strlen.c   (revision 237069)
+++ tree-ssa-strlen.c   (working copy)
@@ -1867,6 +1867,8 @@ handle_builtin_memcmp (gimple_stmt_itera
     {
       gimple *ustmt = USE_STMT (use_p);

+      if (is_gimple_debug (ustmt))
+       continue;
       if (gimple_code (ustmt) == GIMPLE_ASSIGN)
        {
          gassign *asgn = as_a <gassign *> (ustmt);

Reply via email to