https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Author: dmalcolm Date: Sat Aug 6 18:06:30 2016 New Revision: 239211 URL: https://gcc.gnu.org/viewcvs?rev=239211&root=gcc&view=rev Log: 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. Modified: trunk/libcpp/ChangeLog trunk/libcpp/charset.c