+2016-06-09 David Malcolm <dmalcolm@redhat.com>
+
+ PR bootstrap/71471
+ * pretty-print.c (pp_indent): Specify that %p is printed in a
+ host-dependent manner.
+ (test_pp_format): Remove the test for %p.
+
2016-06-09 Maciej W. Rozycki <macro@imgtec.com>
* config/mips/mips.c (mips_output_jump): Fix formatting.
%wd, %wi, %wo, %wu, %wx: HOST_WIDE_INT versions.
%c: character.
%s: string.
- %p: pointer.
+ %p: pointer (printed in a host-dependent manner).
%r: if pp_show_color(pp), switch to color identified by const char *.
%R: if pp_show_color(pp), reset color.
%m: strerror(text->err_no) - does not consume a value from args_ptr.
assert_pp_format ("A 12345678", "%c %x", 'A', 0x12345678);
assert_pp_format ("hello world 12345678", "%s %x", "hello world",
0x12345678);
- assert_pp_format ("0xcafebabe 12345678", "%p %x", (void *)0xcafebabe,
- 0x12345678);
+ /* We can't test for %p; the pointer is printed in an implementation-defined
+ manner. */
assert_pp_format ("normal colored normal 12345678",
"normal %rcolored%R normal %x",
"error", 0x12345678);