Fix crash in selftest::test_lexer_string_locations_ucn4 (PR bootstrap/72823)
authorDavid Malcolm <dmalcolm@redhat.com>
Sat, 6 Aug 2016 18:06:30 +0000 (18:06 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Sat, 6 Aug 2016 18:06:30 +0000 (18:06 +0000)
commite7864d68ee80371a51f3667dc0b2102c344b41c0
treec0caa06ec8575f87392744b9a05b0b8aed5dddfc
parent851e6c6a8e43977768b9ca8db1bfd66bfda67f2f
Fix crash in selftest::test_lexer_string_locations_ucn4 (PR bootstrap/72823)

libcpp/ChangeLog:
PR bootstrap/72823
* charset.c (_cpp_valid_ucn): Replace overzealous assert with one
that allows for char_range to be non-NULL when loc_reader is NULL.

From-SVN: r239211
libcpp/ChangeLog
libcpp/charset.c