diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-06-25 19:33:08 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-06-25 19:33:08 +0000 |
commit | 85f015e1202e8a9945aa1b81917fcd5fd4de5e72 (patch) | |
tree | b1c1fa8a85e884953150c2002096cb56966b0d86 /gcc/final.c | |
parent | 2784775405bab5290a9e9feb425d85a5c42b94de (diff) | |
download | gcc-85f015e1202e8a9945aa1b81917fcd5fd4de5e72.zip gcc-85f015e1202e8a9945aa1b81917fcd5fd4de5e72.tar.gz gcc-85f015e1202e8a9945aa1b81917fcd5fd4de5e72.tar.bz2 |
hwint.h (HOST_WIDE_INT_PRINT, [...]): New macros.
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
(HOST_WIDE_INT_PRINT_DEC_SPACE,
HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
HOST_WIDEST_INT_PRINT_DEC_SPACE,
HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
(HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
* final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
* ra-debug.c (dump_static_insn_cost): Likewise.
From-SVN: r68489
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/final.c b/gcc/final.c index dae455d..6015cd0 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -3419,17 +3419,8 @@ asm_fprintf (FILE *file, const char *p, ...) 'o' cases, but we do not check for those cases. It means that the value is a HOST_WIDE_INT, which may be either `long' or `long long'. */ - -#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT -#else -#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG - *q++ = 'l'; -#else - *q++ = 'l'; - *q++ = 'l'; -#endif -#endif - + memcpy (q, HOST_WIDE_INT_PRINT, strlen (HOST_WIDE_INT_PRINT)); + q += strlen (HOST_WIDE_INT_PRINT); *q++ = *p++; *q = 0; fprintf (file, buf, va_arg (argptr, HOST_WIDE_INT)); |