summaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-14 15:08:54 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-14 15:08:54 +0000
commit3eb9ad169dab3afa114ad29f1a0e76e772ef2f05 (patch)
tree4a23181587a98bf3a8e7e61b92798d6319bf2660 /gcc/genattrtab.c
parenta02df28b537920a1156d483d012f9c47e51c3a9d (diff)
downloadgcc-3eb9ad169dab3afa114ad29f1a0e76e772ef2f05.tar.gz
* df-core.c (df_ref_debug): Change format string placeholder
from 0x%x to %#x. * dwarf2asm.c (dw2_asm_output_data_raw, dw2_asm_output_data_uleb128_raw, dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128_raw, dw2_asm_output_data_sleb128): Ditto. * dwarf2out.c (output_cfi, output_cfi_directive, dwarf2out_do_cfi_startproc, output_loc_sequence_raw, output_cfa_loc_raw, output_die, output_ranges, output_file_names): Ditto. * genattrtab.c (write_test_expr, write_attr_valueq): Ditto. * print-rtl.c (print_rtx): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 1e5198a3dad..08f92a04979 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -3323,7 +3323,7 @@ write_test_expr (rtx exp, int flags)
}
else
{
- printf ("%s((1 << which_alternative) & 0x%x)",
+ printf ("%s((1 << which_alternative) & %#x)",
XINT (exp, 1) ? "!" : "", set);
}
}
@@ -3894,7 +3894,7 @@ write_attr_valueq (struct attr_desc *attr, const char *s)
printf ("%d", num);
if (num > 9 || num < 0)
- printf (" /* 0x%x */", num);
+ printf (" /* %#x */", num);
}
else
{