diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-16 00:13:53 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-16 00:13:53 +0000 |
commit | ca0205ee617ab19b9dc4f6f322b501c57624c187 (patch) | |
tree | 774ee5769490a67cd97563023ebfcb374ef18a6a /gcc/mips-tfile.c | |
parent | 0ef21e140f1f09a785fa9c7cc9642924178f4de5 (diff) | |
download | gcc-ca0205ee617ab19b9dc4f6f322b501c57624c187.tar.gz |
* aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
* configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR.
* system.h (HOST_PTR_PRINTF): Don't define, poison it.
* bitmap.c, c-decl.c, config/i386/i386-interix.h,
config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c:
Delete HOST_PTR_PRINTF.
* configure, config.in: Regenerate.
cp:
* name-lookup.c, ptree.c: Delete HOST_PTR_PRINTF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index c96eb419a25..d7d754f030c 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -3980,8 +3980,7 @@ write_varray (varray_t *vp, /* virtual array */ return; if (debug) - fprintf (stderr, "\twarray\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twarray\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) vp, (unsigned long) offset, vp->num_allocated * vp->object_size, str); @@ -4020,8 +4019,7 @@ write_object (void) off_t offset; if (debug) - fprintf (stderr, "\n\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7u, size = %7lu, %s\n", + fprintf (stderr, "\n\twrite\tvp = %p, offset = %7u, size = %7lu, %s\n", (void *) &symbolic_header, 0, (unsigned long) sizeof (symbolic_header), "symbolic header"); @@ -4051,8 +4049,7 @@ write_object (void) pfatal_with_name (object_name); if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &orig_linenum, (long) symbolic_header.cbLineOffset, (long) symbolic_header.cbLine, "Line numbers"); @@ -4083,8 +4080,7 @@ write_object (void) pfatal_with_name (object_name); if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &orig_opt_syms, (long) symbolic_header.cbOptOffset, num_write, "Optimizer symbols"); @@ -4172,8 +4168,7 @@ write_object (void) file_ptr = file_ptr->next_file) { if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &file_ptr->fdr, file_offset, (unsigned long) sizeof (FDR), "File header"); @@ -4205,8 +4200,7 @@ write_object (void) pfatal_with_name (object_name); if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &orig_rfds, (long) symbolic_header.cbRfdOffset, num_write, "Relative file descriptors"); @@ -4999,7 +4993,7 @@ allocate_cluster (Size_t npages) pfatal_with_name ("allocate_cluster"); if (debug > 3) - fprintf (stderr, "\talloc\tnpages = %lu, value = " HOST_PTR_PRINTF "\n", + fprintf (stderr, "\talloc\tnpages = %lu, value = %p\n", (unsigned long) npages, (void *) ptr); return ptr; |