From: Aaron W. LaFramboise Date: Tue, 13 May 2008 01:17:49 +0000 (-0600) Subject: jcf-dump.c (print_constant): Use HOST_LONG_LONG_FORMAT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8beaca66e37f300d7ca91beae79c0f4eb341f760;p=gcc.git 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 --- 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) {