selftest.c: gracefully handle NULL in assert_streq
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 19 Jul 2016 16:16:18 +0000 (16:16 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 19 Jul 2016 16:16:18 +0000 (16:16 +0000)
commit5989388cdfa7b757a9aab117f4dcabea147050a8
treee4ee0d5c05e2de2cefd1981773a0be5e1d7da5a5
parent985a47b29755eb080355712e98c76daeeccba659
selftest.c: gracefully handle NULL in assert_streq

gcc/ChangeLog:
* selftest.c (selftest::assert_streq): Handle NULL values of
val_actual and val_expected.

From-SVN: r238479
gcc/ChangeLog
gcc/selftest.c