Blame SOURCES/gcc44-rh967003.patch

dc1507
--- gcc/tree-ssa-ccp.c.jj	2013-07-10 14:23:48.649363309 +1000
dc1507
+++ gcc/tree-ssa-ccp.c	2013-07-10 14:25:46.767447105 +1000
dc1507
@@ -2877,6 +2877,12 @@ fold_stmt (gimple_stmt_iterator *gsi)
dc1507
   /* Fold the individual operands.
dc1507
      For example, fold instances of *&VAR into VAR, etc.  */
dc1507
   res = walk_gimple_op (stmt, fold_stmt_r, &wi;;
dc1507
+  if (res && is_gimple_debug (stmt))
dc1507
+    {
dc1507
+      gimple_debug_bind_reset_value (stmt);
dc1507
+      changed = true;
dc1507
+      res = NULL_TREE;
dc1507
+    }
dc1507
   gcc_assert (!res);
dc1507
 
dc1507
   /* Fold the main computation performed by the statement.  */
dc1507
@@ -2941,6 +2947,12 @@ fold_stmt_inplace (gimple stmt)
dc1507
      a call to _builtin_trap.  This functionality is currently
dc1507
      disabled, as noted in a FIXME, and cannot be supported here.  */
dc1507
   res = walk_gimple_op (stmt, fold_stmt_r, &wi;;
dc1507
+  if (res && is_gimple_debug (stmt))
dc1507
+    {
dc1507
+      gimple_debug_bind_reset_value (stmt);
dc1507
+      changed = true;
dc1507
+      res = NULL_TREE;
dc1507
+    }
dc1507
   gcc_assert (!res);
dc1507
 
dc1507
   /* Fold the main computation performed by the statement.  */