https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79049
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-01-19 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks for filing this bug. Notes to self: warning is emitted by convert_escape in libcpp/charset.c:1466 here: 1461 /* diagnostic.c does not support "%03o". When it does, this 1462 code can use %03o directly in the diagnostic again. */ 1463 char buf[32]; 1464 sprintf(buf, "%03o", (int) c); 1465 cpp_error (pfile, CPP_DL_PEDWARN, 1466 "unknown escape sequence: '\\%s'", buf); when first parsing the string token, via cpp_interpret_string, and so loc_readers is NULL.