summaryrefslogtreecommitdiffstats
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-22 05:23:33 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-22 05:23:33 +0000
commitad6c9a5853f72263ee79ceb7afb39e37e8697d85 (patch)
tree279c567a607717883b54fd2f58e33c32342072aa /gcc/collect2.c
parent9e2d273738166a11573320e220897da1bda74de1 (diff)
downloadppe42-gcc-ad6c9a5853f72263ee79ceb7afb39e37e8697d85.tar.gz
ppe42-gcc-ad6c9a5853f72263ee79ceb7afb39e37e8697d85.zip
Warning fixes:
* Makefile.in (varasm.o): Depend on sdbout.h. (sdbout.o): Depend on toplev.h. * collect2.c (scan_prog_file): Cast fprintf argument to `long' and use %ld specifier. * final.c (shorten_branches): Cast first arg of `bzero' to char *. * genextract.c (main): When creating insn-extract.c, mark variable `i' with ATTRIBUTE_UNUSED. * genpeep.c (main): When creating insn-peep.c, mark variables `insn', `x' and `pat' with ATTRIBUTE_UNUSED. * objc/init.c (__objc_tree_print): Wrap function definition in macro `DEBUG'. * objc/objc-act.c (encode_array): Cast sprintf argument to `long' and use %ld specifier. (adorn_decl): Likewise, twice. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index eec7a95e10c..6c4933debe3 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -2828,8 +2828,8 @@ scan_prog_file (prog_name, which_pass)
#else
if (debug)
fprintf (stderr,
- "\tiss = %5d, value = %5d, index = %5d, name = %s\n",
- symbol.iss, symbol.value, symbol.index, name);
+ "\tiss = %5d, value = %5ld, index = %5d, name = %s\n",
+ symbol.iss, (long) symbol.value, symbol.index, name);
#endif
}
#ifdef COLLECT_EXPORT_LIST
OpenPOWER on IntegriCloud