]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-operands.c (verify_abort): Use %p for pointers.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 5 Apr 2005 22:23:11 +0000 (22:23 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Tue, 5 Apr 2005 22:23:11 +0000 (22:23 +0000)
2005-04-05  Andrew MacLeod  <amacleod@redhat.com>

* tree-ssa-operands.c (verify_abort): Use %p for pointers.

From-SVN: r97659

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 45ff7cd401a20f88d73290e84c64b715072ba2f4..69e4e3d86ecaf0e20a3bc0b2f3858aab38d6ecb8 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-05  Andrew MacLeod  <amacleod@redhat.com>
+
+       * tree-ssa-operands.c (verify_abort): Use %p for pointers.
+
 2005-04-05  Andrew MacLeod  <amacleod@redhat.com>
 
        * tree-pretty-print.c (dump_generic_node): Use %p for pointer.
index 979337b12aee747db023e0ad7069c266d82af9b9..07334b92d7bdace87453c26d71b0e822c3ad3245 100644 (file)
@@ -2185,12 +2185,12 @@ verify_abort (FILE *f, ssa_imm_use_t *var)
     {
       if (stmt_modified_p(stmt))
        {
-         fprintf (f, " STMT MODIFIED. - <0x%x> ", (unsigned int)stmt);
+         fprintf (f, " STMT MODIFIED. - <%p> ", (void *)stmt);
          print_generic_stmt (f, stmt, TDF_SLIM);
        }
     }
-  fprintf (f, " IMM ERROR : (use_p : tree: 0x%X:0x%x)", (unsigned int)var, 
-          (unsigned int)var->use);
+  fprintf (f, " IMM ERROR : (use_p : tree - %p:%p)", (void *)var, 
+          (void *)var->use);
   print_generic_expr (f, USE_FROM_PTR (var), TDF_SLIM);
   fprintf(f, "\n");
 }