aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2010-04-14 17:08:54 +0200
committerUros Bizjak <uros@gcc.gnu.org>2010-04-14 17:08:54 +0200
commita3f1cee4d3226d5af5f9972952d46c60d1e88d3e (patch)
tree4a23181587a98bf3a8e7e61b92798d6319bf2660 /gcc/genattrtab.c
parent3eb4dbe35b1fa733f71d778ed742d915897ad430 (diff)
downloadgcc-a3f1cee4d3226d5af5f9972952d46c60d1e88d3e.zip
gcc-a3f1cee4d3226d5af5f9972952d46c60d1e88d3e.tar.gz
gcc-a3f1cee4d3226d5af5f9972952d46c60d1e88d3e.tar.bz2
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
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 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
{