We may use the same macro for integer constants used in both
C and assembly codes. For 64bit integers in C, we use LL suffix.
But LL/L suffixes are rejected by assembler as in
[EMAIL PROTECTED] 910]$ cat bad.s
.8byte 0x0008007CULL
.8byte 0x0008007CUL
.8byte 0x0008007CLL
.8b
--- Additional Comments From hjl dot tools at gmail dot com 2008-10-29
07:02 ---
Does this patch make sense?
--- ./expr.c.ll 2007-10-30 11:48:37.0 -0700
+++ ./expr.c2008-10-28 23:43:00.0 -0700
@@ -241,6 +241,12 @@ generic_bignum_to_int64 (void)
}
#endif
+struct su
--- Additional Comments From schwab at suse dot de 2008-10-29 08:39 ---
It doesn't make sense for the assembler to use such suffixes, since the size of
the number is completely defined by the context, unlike C.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6994
--- You are r
--- Additional Comments From hjl dot tools at gmail dot com 2008-10-29
22:37 ---
(In reply to comment #2)
> It doesn't make sense for the assembler to use such suffixes, since the size
> of
> the number is completely defined by the context, unlike C.
It is useful to use a macro to def
--- Additional Comments From schwab at suse dot de 2008-10-30 00:14 ---
You can easily make that dependent on __ASSEMBLER__.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6994
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching