selftest.c: gracefully handle NULL in assert_streq
commit6ca7a3d8841ea131efd40ccccf049d7a17e9e0ae
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jul 2016 16:16:18 +0000 (19 16:16 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jul 2016 16:16:18 +0000 (19 16:16 +0000)
treee4ee0d5c05e2de2cefd1981773a0be5e1d7da5a5
parent78c81e30eda56d89a4f2364312596059df5464f2
selftest.c: gracefully handle NULL in assert_streq

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/selftest.c