This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/71413] [7 Regression] bootstrap (gnat) broken on arm-linux-gnueabi*
- From: "bernds at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Jun 2016 15:30:46 +0000
- Subject: [Bug ada/71413] [7 Regression] bootstrap (gnat) broken on arm-linux-gnueabi*
- Auto-submitted: auto-generated
- References: <bug-71413-4 at http dot gcc dot gnu dot org/bugzilla/>
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);