This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/71413] [7 Regression] bootstrap (gnat) broken on arm-linux-gnueabi*


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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]