From 8beaca66e37f300d7ca91beae79c0f4eb341f760 Mon Sep 17 00:00:00 2001 From: "Aaron W. LaFramboise" Date: Mon, 12 May 2008 19:17:49 -0600 Subject: [PATCH] jcf-dump.c (print_constant): Use HOST_LONG_LONG_FORMAT. 2008-05-12 Aaron W. LaFramboise * jcf-dump.c (print_constant): Use HOST_LONG_LONG_FORMAT. From-SVN: r135252 --- gcc/java/ChangeLog | 5 +++++ gcc/java/jcf-dump.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 411806af5a8..750e6716822 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2008-05-12 Aaron W. LaFramboise + + * jcf-dump.c (print_constant): Use + HOST_LONG_LONG_FORMAT. + 2008-05-07 Kenneth Zadeck * decl.c (java_init_decl_processing): Change DECL_IS_PURE to diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index 3cc996a9a60..7615f97b7f2 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -850,9 +850,11 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity) if (dnum.mantissa0 == 0 && dnum.mantissa1 == 0) fputs ("Inf", out); else if (dnum.mantissa0 & JDOUBLE_QNAN_MASK) - fprintf (out, "QNaN(%llu)", (unsigned long long)mantissa); + fprintf (out, "QNaN(%" HOST_LONG_LONG_FORMAT "u)", + (unsigned long long)mantissa); else - fprintf (out, "SNaN(%llu)", (unsigned long long)mantissa); + fprintf (out, "SNaN(%" HOST_LONG_LONG_FORMAT "u)", + (unsigned long long)mantissa); } if (verbosity > 1) { -- 2.30.2