summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authoraaronwl <aaronwl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-13 01:17:49 +0000
committeraaronwl <aaronwl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-13 01:17:49 +0000
commitf181b7c7c2e7a345e40938b1b9bdeec638fd279e (patch)
tree6a469a1a90ac85c2820a9fa2974de449d08f02cd /gcc/java
parentfb1e2a6bcffeceebb99ceefe34d61f097665f57d (diff)
downloadgcc-f181b7c7c2e7a345e40938b1b9bdeec638fd279e.tar.gz
2008-05-12 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
* 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
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/jcf-dump.c6
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 <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
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)
{