quick format change
Andrew MacLeod
amacleod@redhat.com
Tue Apr 5 22:24:00 GMT 2005
On Tue, 2005-04-05 at 17:41, Zagorodnev, Grigory wrote:
> Andrew,
> Similar changes must be applied to tree-ssa-operands.c. Otherwise
> mainline GCC bootstrap fails at IPF (like at other 64-bit platforms).
>
> Would you commit this fix as well, please?
Thanks. Committed as:
Andrew
* tree-ssa-operands.c (verify_abort): Use %p for pointers.
Index: tree-ssa-operands.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-operands.c,v
retrieving revision 2.71
diff -c -p -r2.71 tree-ssa-operands.c
*** tree-ssa-operands.c 5 Apr 2005 19:05:10 -0000 2.71
--- tree-ssa-operands.c 5 Apr 2005 22:21:07 -0000
*************** verify_abort (FILE *f, ssa_imm_use_t *va
*** 2185,2196 ****
{
if (stmt_modified_p(stmt))
{
! fprintf (f, " STMT MODIFIED. - <0x%x> ", (unsigned int)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);
print_generic_expr (f, USE_FROM_PTR (var), TDF_SLIM);
fprintf(f, "\n");
}
--- 2185,2196 ----
{
if (stmt_modified_p(stmt))
{
! fprintf (f, " STMT MODIFIED. - <%p> ", (void *)stmt);
print_generic_stmt (f, stmt, TDF_SLIM);
}
}
! 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");
}
More information about the Gcc-patches
mailing list