From a3f1cee4d3226d5af5f9972952d46c60d1e88d3e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 14 Apr 2010 17:08:54 +0200 Subject: df-core.c (df_ref_debug): Change format string placeholder from 0x%x to %#x. * 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. From-SVN: r158347 --- gcc/genattrtab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/genattrtab.c') diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 1e5198a..08f92a0 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 { -- cgit v1.1