OSDN Git Service

2005-04-05 Andrew MacLeod <amacleod@redhat.com>
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 22:23:11 +0000 (22:23 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 22:23:11 +0000 (22:23 +0000)
* tree-ssa-operands.c (verify_abort): Use %p for pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97659 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 45ff7cd..69e4e3d 100644 (file)
@@ -1,5 +1,9 @@
 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.
 
 2005-04-05  Jakub Jelinek  <jakub@redhat.com>
index 979337b..07334b9 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");
 }