diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-02 13:10:40 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-02 13:10:40 +0000 |
commit | 9c5b6e15021ce28bae0ea7a2afed31fdea871af0 (patch) | |
tree | ea3cf85e21a1429c274541a6dc4c91a4ccdd9191 /gcc/hwint.h | |
parent | 95dcf70a82102abb02cde15514081dd924af2884 (diff) | |
download | gcc-9c5b6e15021ce28bae0ea7a2afed31fdea871af0.tar.gz |
Revert:
* hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Change format string
placeholder from 0x%x to %#x.
(HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto.
* config/i386/i386.c (output_pic_addr_const): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158972 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hwint.h')
-rw-r--r-- | gcc/hwint.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/hwint.h b/gcc/hwint.h index 327a12f0362..c7fcd345bec 100644 --- a/gcc/hwint.h +++ b/gcc/hwint.h @@ -82,17 +82,17 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; must be tweaked accordingly. */ # if HOST_BITS_PER_WIDE_INT == 64 # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \ - "%#" HOST_LONG_FORMAT "x%016" HOST_LONG_FORMAT "x" + "0x%" HOST_LONG_FORMAT "x%016" HOST_LONG_FORMAT "x" # else # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \ - "%#" HOST_LONG_FORMAT "x%08" HOST_LONG_FORMAT "x" + "0x%" HOST_LONG_FORMAT "x%08" HOST_LONG_FORMAT "x" # endif #else # define HOST_WIDE_INT_PRINT HOST_LONG_LONG_FORMAT # define HOST_WIDE_INT_PRINT_C "LL" /* We can assume that 'long long' is at least 64 bits. */ # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \ - "%#" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" + "0x%" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" #endif /* HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG */ #define HOST_WIDE_INT_PRINT_DEC "%" HOST_WIDE_INT_PRINT "d" @@ -131,7 +131,7 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; # define HOST_WIDEST_INT_PRINT_UNSIGNED "%" HOST_LONG_LONG_FORMAT "u" # define HOST_WIDEST_INT_PRINT_HEX "%#" HOST_LONG_LONG_FORMAT "x" # define HOST_WIDEST_INT_PRINT_DOUBLE_HEX \ - "%#" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" + "0x%" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" #endif /* Define HOST_WIDEST_FAST_INT to the widest integer type supported |