OSDN Git Service

2008-05-12 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
authoraaronwl <aaronwl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 May 2008 01:17:49 +0000 (01:17 +0000)
committeraaronwl <aaronwl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 May 2008 01:17:49 +0000 (01:17 +0000)
* jcf-dump.c (print_constant): Use
HOST_LONG_LONG_FORMAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135252 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/jcf-dump.c

index 411806a..750e671 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-12  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+       * jcf-dump.c (print_constant): Use
+       HOST_LONG_LONG_FORMAT.
+
 2008-05-07  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * decl.c (java_init_decl_processing): Change DECL_IS_PURE to
index 3cc996a..7615f97 100644 (file)
@@ -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)
          {