Re: [PATCH] assert_streq: add newlines to failure message

2021-10-28 Thread Jeff Law via Gcc-patches
On 10/26/2021 3:27 PM, David Malcolm via Gcc-patches wrote: Adding newlines so that the two strings line up makes string equality failures considerably easier to read. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. OK for trunk? gcc/ChangeLog: * selftest.c (assert_str

[PATCH] assert_streq: add newlines to failure message

2021-10-26 Thread David Malcolm via Gcc-patches
Adding newlines so that the two strings line up makes string equality failures considerably easier to read. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. OK for trunk? gcc/ChangeLog: * selftest.c (assert_streq): Add newlines when emitting non-equal non-NULL string