diff options
author | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-19 17:21:21 +0000 |
---|---|---|
committer | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-19 17:21:21 +0000 |
commit | cc69d08a4b5da8684670fe3a9671dc4117bfa352 (patch) | |
tree | 5990c79f85927fcc4b60fa5bcf4d2cf77a109d10 /gcc/rtl.c | |
parent | f9ae6f95055fe8521d46b1f2d87f7062d9977104 (diff) | |
download | gcc-cc69d08a4b5da8684670fe3a9671dc4117bfa352.tar.gz |
richards suggestions
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c index a361d4fa891..40538526224 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -233,6 +233,8 @@ cwi_output_hex (FILE *outfile, const_rtx x) int i = CWI_GET_NUM_ELEM (x); gcc_assert (i > 0); if (CWI_ELT (x, i-1) == 0) + /* The HOST_WIDE_INT_PRINT_HEX prepends a 0x only if the val is + non zero. We want all numbers to have a 0x prefix. */ fprintf (outfile, "0x"); fprintf (outfile, HOST_WIDE_INT_PRINT_HEX, CWI_ELT (x, --i)); while (--i >= 0) |